Re-exports§
pub use https::build_https_config_args;pub use https::format_https_url;pub use ssh::normalize_ssh_url;pub use ssh::setup_ssh_env;pub use ssh::url_has_port;
Modules§
Structs§
Enums§
- Clone
Shape - Which refs a clone takes, and what it leaves on disk.
Functions§
- build_
clone_ args - Builds the common clone arguments: config flags, clone subcommand, shape, URL, dest.
- clone_
root - clone_
to_ temp - Clones a repo directly into
temp_dir/{uuid}and returns(Some(path), None)on success or(None, Some(error))on failure.