Module gix_discover::path
source · Expand description
Modules
Functions
- Reads typical
gitdir:
files from disk as used by worktrees and submodules. - Reads a plain path from a file that contains it as its only content, with trailing newlines trimmed.
- Conditionally pop a trailing
.git
dir if present.