Documentation ¶
Index ¶
- func GetCommitHash(dir string, ref string) (string, error)
- func GetFileContent(dir string, ref string, file string) (string, error)
- func GetVersionFiles(rootDir string) []string
- func GetVersionNumber(s string) (int, error)
- func IncrementNumber(s string) (string, error)
- func IndexLinesSequence(lines []string, seq []string) (lineIndex int, byteIndex int)
- func PatchVersionFile(file string, rev string, autIncrementNumber bool, version int) error
- func ReplaceRevision(s string, revision string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFileContent ¶ added in v1.0.36
git cat-file -p REF:FILE
func GetVersionFiles ¶
func GetVersionNumber ¶ added in v1.0.36
func IncrementNumber ¶ added in v1.0.1
func IndexLinesSequence ¶ added in v1.0.36
func PatchVersionFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.