Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Status ¶
type Status struct { Revision string // Optional. CommitTime time.Time // Optional. Uncommitted bool // Required. }
Status is the current state of a local repository.
func GetRevision ¶
GetRevision returns the version control system (VCS) revision information for the Encore application.
If there is an error getting the revision information, no revision information is returned and the App is flagged as having uncommitted files. This will happen most likely because no supported VCS system can be found.
Supported VCS systems include;
- Hg
- Git
- Svn
- Bzr
- Fossil
Click to show internal directories.
Click to hide internal directories.