Documentation ¶
Index ¶
- func CopyCoreVersion(xgoVersionFile string, runtimeVersionFile string) error
- func GetCommitHash(dir string, ref string) (string, error)
- func GetFileContent(dir string, ref string, file string) (string, error)
- func GetRuntimeVersionFile(rootDir string) string
- func GetVersionFiles(rootDir string) []string
- func GetVersionNumber(s string) (int, error)
- func GetXgoVersionFile(rootDir string) string
- func IncrementNumber(s string) (string, error)
- func IndexLinesSequence(lines []string, seq []string) (lineIndex int, byteIndex int)
- func ParseConstants(content string) (map[string]string, error)
- func ParseCoreVersionConstants(content string) (version string, revision string, number int, err error)
- func ParseVersionConstants(content string) (version string, revision string, number int, err error)
- func PatchVersionFile(file string, version string, rev string, autIncrementNumber bool, number int) error
- func ReplaceRevision(s string, revision string) (string, error)
- func ReplaceVersion(s string, version string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyCoreVersion ¶ added in v1.0.43
func GetFileContent ¶ added in v1.0.36
git cat-file -p REF:FILE
func GetRuntimeVersionFile ¶ added in v1.0.41
func GetVersionFiles ¶
func GetVersionNumber ¶ added in v1.0.36
func GetXgoVersionFile ¶ added in v1.0.41
func IncrementNumber ¶ added in v1.0.1
func IndexLinesSequence ¶ added in v1.0.36
func ParseConstants ¶ added in v1.0.41
parse
func ParseCoreVersionConstants ¶ added in v1.0.41
func ParseVersionConstants ¶ added in v1.0.41
func PatchVersionFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.