struct Sherd::Lock

Defined in:

lock.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(dependencies : Hash(String, DependencyLock)) #

[View source]
def self.new(path : Path) #

[View source]
def self.new(data : IO | String) #

[View source]

Class Method Detail

def self.file(directory : Path) #

[View source]

Instance Method Detail

def build(io : IO) #

[View source]
def build : String #

[View source]
def dependencies : Hash(String, DependencyLock) #

[View source]
def lock(dependency : String, path : String, version_or_rev : SemanticVersion | Git::Object::Type, local_path : Path) : DependencyLock #

Lock a dependency.


[View source]