Fix worktree paths in .git/modules/*/config files if they use absolute paths. Returns any warnings encountered during the fix.
(&self, repo_path: &Path)
| 840 | /// Fix worktree paths in .git/modules/*/config files if they use absolute paths. |
| 841 | /// Returns any warnings encountered during the fix. |
| 842 | async fn fix_module_worktree_paths(&self, repo_path: &Path) -> Result<Vec<String>, String> { |
| 843 | let modules_dir = repo_path.join(".git/modules"); |
| 844 | if !modules_dir.exists() { |
| 845 | return Ok(Vec::new()); |
| 846 | } |
| 847 | |
| 848 | self.fix_worktree_recursive(&modules_dir, repo_path).await |
| 849 | } |
| 850 | |
| 851 | /// Recursively fix worktree paths in module config files. |
| 852 | /// Returns any warnings encountered during the fix. |
no test coverage detected