package
0.6.2
Repository: https://github.com/csrwng/origin.git
Documentation: pkg.go.dev

# Functions

IsRoot returns true if location is the root of a bare git repository.
NameFromRepositoryURL suggests a name for a repository URL based on the last segment of the path, or returns false.
NewRepository creates a new Repository for the given directory.
NewRepositoryForBinary returns a Repository using the specified git executable.
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.

# Structs

No description provided by the author
GitError is returned when the underlying Git command returns a non-zero exit code.

# Interfaces

Repository represents a git source repository.