We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aed59f0 commit 6560fecCopy full SHA for 6560fec
build_system/src/utils.rs
@@ -307,6 +307,10 @@ pub fn git_clone(
307
git_clone_inner(to_clone, dest, shallow_clone, repo_name)
308
}
309
310
+/// This function differs from `git_clone` in how it handles *where* the repository will be cloned.
311
+/// In `git_clone`, it is cloned in the provided path. In this function, the path you provide is
312
+/// the parent folder. So if you pass "a" as folder and try to clone "b.git", it will be cloned into
313
+/// `a/b`.
314
pub fn git_clone_root_dir(
315
to_clone: &str,
316
dest_parent_dir: &Path,
0 commit comments