Documentation
¶
Overview ¶
Package gitx wraps the git CLI.
Index ¶
- func Branch(dir string) string
- func CommonDir(dir string) (string, error)
- func GitDir(dir string) (string, error)
- func Head(dir string) string
- func LastCommitDate(dir, path string) string
- func Run(dir string, args ...string) (string, error)
- func RunRaw(dir string, args ...string) ([]byte, error)
- func Toplevel(dir string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LastCommitDate ¶
LastCommitDate returns the ISO-8601 committer date of the last commit touching path.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.