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.Auto Trait Implementations§
impl Freeze for CloneArgs
impl RefUnwindSafe for CloneArgs
impl Send for CloneArgs
impl Sync for CloneArgs
impl Unpin for CloneArgs
impl UnsafeUnpin for CloneArgs
impl UnwindSafe for CloneArgs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request