Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindRepoRoot ¶
FindRepoRoot walks up the directory tree from startPath looking for a .git entry (either a file or a directory) and returns the absolute path of the first directory that contains .git. It returns an error if the filesystem root is reached without finding .git.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.