Documentation
¶
Index ¶
- func Commit(message string) error
- func GetCommitsBetween(from, to string) ([]string, error)
- func GetLatestTag() (string, error)
- func GetPreviousTag(tag string) (string, error)
- func HasCommits() bool
- func HooksPath() (string, error)
- func IsRepo() bool
- func StagedDiff() (string, error)
- func StagedDiffForFile(file string) (string, error)
- func StagedDiffStat() (string, error)
- func StagedFiles() ([]string, error)
- type FileStat
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCommitsBetween ¶ added in v0.1.1
func GetLatestTag ¶ added in v0.1.1
func GetPreviousTag ¶ added in v0.1.1
func HasCommits ¶
func HasCommits() bool
func StagedDiff ¶
func StagedDiffForFile ¶
func StagedDiffStat ¶
func StagedFiles ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.