# Packages
No description provided by the author
# Functions
CheckDirectoryIsValidGitCheckout runs a simple git rev-parse.
CheckForUncommittedGitChanges checks if there are any uncommitted and/or unchecked changes from git based on the given directory.
GetCurrentHEADGitCommit returns the current HEAD commit based on the given directory.
GetRefsForGitCommitAndRemote returns all refs pointing to a given commit based on the given remote for the given directory.
GetRemote gets the Git remote based on the given remote name.
IsValidRef returns whether or not ref is a valid git ref for the git repository that contains dir.
NewBranchName returns a new Name for the branch.
NewCloner returns a new Cloner.
NewLister returns a new Lister.
NewRefName returns a new Name for the ref.
NewRefNameWithBranch returns a new Name for the ref while setting branch as the clone target.
NewTagName returns a new Name for the tag.
ReadFileAtRef will read the file at path rolled back to the given ref, if it exists at that ref.
# Variables
ErrInvalidGitCheckout is returned from CheckDirectoryIsValidGitCheckout when the specified directory is not a valid git checkout.
ErrInvalidRef is returned from IsValidRef if the ref does not exist in the repository containing the given directory (or, if the directory is not a valid git checkout).
ErrRemoteNotFound is returned from GetRemote when the specified remote name is not found in the current git checkout.
# Structs
ClonerOptions are options for a new Cloner.
CloneToBucketOptions are options for Clone.
ListFilesAndUnstagedFilesOptions are options for ListFilesAndUnstagedFiles.