Documentation
¶
Overview ¶
Package git provides functionality related to Git repos.
Index ¶
Constants ¶
View Source
const (
// ErrorFile is the file name of the git-sync error file.
ErrorFile = "error.json"
)
Variables ¶
This section is empty.
Functions ¶
func CheckClean ¶
CheckClean returns an error if the repo pointed to by dir is not clean, or there was an error invoking Git while checking. Deprecated: Only used by the legacy mono-repo mode.
func CommitHash ¶
CommitHash parses the Git commit hash from the given directory path. Deprecated: Only used by the legacy mono-repo mode.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.