pub struct CloneArgs {
pub remote: String,
pub local: String,
pub thread: Option<String>,
pub depth: Option<u32>,
pub lazy: bool,
pub insecure: bool,
pub filter: Option<String>,
pub recursive: bool,
}Expand description
Arguments for the clone command.
Help style budget (heddle#652): --help carries the signature, flags,
a one-screen Behavior summary, and the hidden-flag breadcrumb
(heddle#646). The full default-thread fallback chain and –depth
exposition moved to heddle help clone (help.rs CLONE_TOPIC); keep
flag docs single-line so clap renders the compact help layout.
Fields§
§remote: StringRemote repository path.
local: StringLocal directory to clone into.
thread: Option<String>Thread to check out after cloning.
depth: Option<u32>Create a shallow clone with the specified depth. 0 means full history.
lazy: boolLeave blob content absent by design and hydrate it explicitly later.
insecure: boolAllow cleartext (non-TLS) connections to non-loopback hosts.
filter: Option<String>Partial-clone filter spec (blob:none only).
recursive: boolClone a whole hosted monorepo: resolve the root spool’s child tree and clone every child spool at its anchored state into its mount path. Hosted/network remotes only. (Alias: –monorepo.)
Trait Implementations§
Source§impl Args for CloneArgs
impl Args for CloneArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl FromArgMatches for CloneArgs
impl FromArgMatches for CloneArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.