Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindGitRepo ¶
FindGitRepo checks if the given directories belong to the same Git repository. It returns the root of the Git repository if all directories share the same repository. If the directories belong to different repositories it retruns an error.
func GetChangedFiles ¶
GetChangedFiles will return a list of files that have been changed in the repository. This should only be called when required, i.e. a .git directory has already been detected.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.