gix_discover

Function 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.