Module path

Source
Expand description

Modules§

from_gitdir_file

Functions§

from_gitdir_file
Reads typical gitdir: files from disk as used by worktrees and submodules.
from_plain_file
Reads a plain path from a file that contains it as its only content, with trailing newlines trimmed.
without_dot_git_dir
Conditionally pop a trailing .git dir if present.