gix_discover::parse

Function gitdir

Source
pub fn gitdir(input: &[u8]) -> Result<PathBuf, Error>
Expand description

Parse typical gitdir files as seen in worktrees and submodules.