Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GitBranch ¶
GitBranch returns the name of the current branch if the working directory is contained in a Git repository.
func GitCommit ¶
GitCommit returns the full SHA of the current commit if the working directory is contained in a Git repository.
func GitIsDirty ¶
func GitIsDirty() bool
GitIsDirty returns true if and only if the current working directory is contained in a Git repository that has uncommitted changes and/or untracked files.
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.