Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ParserTypeGit is the type of parser for git repositories. ParserTypeGit = "git" // ParserTypeZeta is the type of parser for zeta repositories. ParserTypeZeta = "zeta" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct {
// URL is the URL of the source.
// e.g git is the origin remote URL.
URL string
// Commit is the commit hash of the source.
// e.g git is the HEAD commit hash.
Commit string
// Dirty is true if the source is dirty.
// e.g git is indicating whether the workspace is dirty.
Dirty bool
}
Info is a struct that holds the source information.
Click to show internal directories.
Click to hide internal directories.