(repo: &Repository)
| 197 | } |
| 198 | |
| 199 | fn init_all_submodules(repo: &Repository) -> Result<()> { |
| 200 | for mut sub in repo.submodules().unwrap() { |
| 201 | sub.update(true, None)?; |
| 202 | } |
| 203 | |
| 204 | Ok(()) |
| 205 | } |
| 206 | |
| 207 | fn copy_dir_all(src: impl AsRef<Path>, dst: impl AsRef<Path>) -> Result<()> { |
| 208 | fn check_dir_all(src: impl AsRef<Path>, dst: impl AsRef<Path>) -> Result<()> { |