Function gix_discover::path::without_dot_git_dir
source · pub fn without_dot_git_dir(path: PathBuf) -> PathBuf
Expand description
Conditionally pop a trailing .git
dir if present.
pub fn without_dot_git_dir(path: PathBuf) -> PathBuf
Conditionally pop a trailing .git
dir if present.