MCPcopy Create free account
hub / github.com/dtormoen/tsk-tsk / find_submodule_git_files

Method find_submodule_git_files

src/git.rs:739–744  ·  view source on GitHub ↗

Find all .git files (not directories) in the repository that contain gitdir:. These files indicate submodule directories.

(&self, repo_path: &Path)

Source from the content-addressed store, hash-verified

737 /// Find all .git files (not directories) in the repository that contain gitdir:.
738 /// These files indicate submodule directories.
739 async fn find_submodule_git_files(&self, repo_path: &Path) -> Vec<PathBuf> {
740 let mut result = Vec::new();
741 self.find_git_files_recursive(repo_path, repo_path, &mut result)
742 .await;
743 result
744 }
745
746 /// Recursively search for .git files (submodule indicators) in a directory.
747 async fn find_git_files_recursive(

Callers 1

fix_submodule_pathsMethod · 0.80

Calls 1

Tested by

no test coverage detected