package
0.0.0-20201020153340-53909ea70814
Repository: https://github.com/gagliardetto/golang-go.git
Documentation: pkg.go.dev
# Functions
AllHex reports whether the revision rev is entirely lower-case hexadecimal digits.
GitRepo returns the code repository at the given Git remote reference.
LocalGitRepo is like Repo but accepts both Git remote references and paths to repositories on the local file system.
No description provided by the author
Run runs the command line in the given directory (an empty dir means the current directory).
No description provided by the author
ShortenSHA1 shortens a SHA1 hash (40 hex digits) to the canonical length used in pseudo-versions (12 hex digits).
WorkDir returns the name of the cached work directory to use for the given repository type and name.
# Constants
maximum size of go.mod file.
maximum size of LICENSE file.
maximum size of downloaded zip file.
# Variables
ErrNoCommits is an error equivalent to os.ErrNotExist indicating that a given repository or module contains no commits.
WorkRoot is the root of the cached work directory.
# Structs
A FileRev describes the result of reading a file at a given revision.
A Rev describes a single revision in a source code repository.
No description provided by the author
UnknownRevisionError is an error equivalent to os.ErrNotExist, but for a revision rather than a file.
A VCSError indicates an error using a version control system.
# Interfaces
A Repo represents a code hosting source.