Function gix_discover::is_submodule_git_dir
source · pub fn is_submodule_git_dir(git_dir: &Path) -> bool
Expand description
Returns true if git_dir
is located within a .git/modules
directory, indicating it’s a submodule clone.