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.