Documentation
¶
Overview ¶
Package git provides constants for git binary invocation.
Index ¶
Constants ¶
View Source
const ( Log = "log" RevParse = "rev-parse" )
Git subcommands.
View Source
const ( FlagNoCommitID = "--no-commit-id" FlagNameOnly = "--name-only" FlagOneline = "--oneline" FlagSince = "--since" FormatAuthor = "--format=%aN" FormatEmpty = "--format=" )
Git log flags.
View Source
const Binary = "git"
Binary is the git executable name.
View Source
const (
// FlagShowToplevel is a git flag.
FlagShowToplevel = "--show-toplevel"
)
Git rev-parse flags.
View Source
const PathSeparator = "/"
PathSeparator is the separator git uses in file paths (always forward slash).
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.