Re-exports§
pub use https::build_https_config_args;pub use https::embed_credentials_in_url;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§
Functions§
- build_
clone_ args - Builds the common clone arguments: config flags, clone subcommand, mirror/branch, 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.