Skip to main content

Module clone

Module clone 

Source

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§

codecommit
https
ssh

Structs§

CloneOpts

Enums§

CloneShape
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.