pub struct PullArgs {
pub args: Vec<String>,
pub include: Vec<String>,
pub exclude: Vec<String>,
}Expand description
Download all Git LFS files for current ref and checkout
Download Git LFS objects for the currently checked out ref, and update the working copy with the downloaded content if required.
This is generally equivalent to running git lfs fetch [options] [<remote>] followed by git lfs checkout. See git-lfs-checkout(1)
for partial-clone, sparse-checkout, and bare-repository behavior
(governed by the installed Git version and GIT_ATTR_SOURCE).
Requires git lfs install to have wired up the smudge filter. If
the filter is missing, the fetch step still runs but the
working-tree update is skipped with a hint to install.
Fields§
§args: Vec<String>Optional remote name followed by refs.
The first positional argument is treated as a remote name when it resolves; any following arguments are refs to fetch. With no arguments, the default remote is used.
include: Vec<String>Specify lfs.fetchinclude just for this invocation.
exclude: Vec<String>Specify lfs.fetchexclude just for this invocation.
Trait Implementations§
Source§impl Args for PullArgs
impl Args for PullArgs
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 PullArgs
impl FromArgMatches for PullArgs
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.