MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / init_all_submodules

Function init_all_submodules

flow-quickstart/src/git.rs:199–205  ·  view source on GitHub ↗
(repo: &Repository)

Source from the content-addressed store, hash-verified

197}
198
199fn 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
207fn 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<()> {

Callers 1

git_clone_allFunction · 0.85

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected