gix_discover::path

Function without_dot_git_dir

Source
pub fn without_dot_git_dir(path: PathBuf) -> PathBuf
Expand description

Conditionally pop a trailing .git dir if present.