# Functions
IsRoot returns true if location is the root of a bare git repository.
No description provided by the author
NameFromRepositoryURL suggests a name for a repository URL based on the last segment of the path, or returns false.
NewRepository creates a new Repository.
NewRepositoryForBinary returns a Repository using the specified git executable.
NewRepositoryForBinary returns a Repository using the specified git executable and environment.
NewRepositoryForEnv creates a new Repository using the specified environment.
No description provided by the author
ParseRepository parses a string that may be in the Git format (git@) or URL format and extracts the appropriate value.
# Variables
ErrGitNotAvailable will be returned if the git call fails because a git binary could not be found.
# Structs
No description provided by the author
CloneOptions are options used in cloning a git repository.
GitError is returned when the underlying Git command returns a non-zero exit code.
SourceInfo stores information about the source code.
TimeoutError is returned when the underlying Git coommand times out before finishing.
# Interfaces
Repository represents a git source repository.