Documentation ¶
Index ¶
- func Clone(project config.Project) (err error)
- func GetVersion(project string) (version string, err error)
- func GetVersionDetails(project string, version string) (details string, err error)
- func GetVersionDetailsFile(file string) (version string, info string, ts string, err error)
- func GetVersionTime(project string, version string) (timestamp string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Clone ¶
Clone performs a check out into a new (project) sub folder underneath WorkingPath If the project configuration specifies sub folders within the project repository, then a sparse checkout is performed for only the specified folders
func GetVersion ¶
GetVersion Reads the Git repository in the working sub directory (project) and returns current commit version
func GetVersionDetails ¶
GetVersionDetails Reads the Git repository in the working sub directory (project) and returns the commit message, author details, and timestamp of the commit
func GetVersionDetailsFile ¶
GetVersionDetailsFile Reads the file defined by the file parameter and returns the versions and details info.
func GetVersionTime ¶
GetVersionTime Reads the Git repository in the working sub directory (project) and returns the committer timestamp for (version) in RFC3339 format which should be compatible with MySQL timestamps.
Types ¶
This section is empty.