Sherd::Git
Inherits Struct < Value < Object
Constructors
new(uri : URI, directory : Path, verbose : Bool = false)
Creates a new Git repositor by cloning it or updates it if already present.
Instance methods
copy(version_or_rev : SemanticVersion | Revision, destination : Path)
Copy the repository to a given version.
name
Sourcerepository_path
Sourceshow(version_or_rev : SemanticVersion | Object::Type, file : String) : String | Nil
Show a file at a revision. Returns nil if not present, or if the command failed.
uri
Source