[−][src]Struct git_trim::args::Args
Fields
bases: Vec<CommaSeparatedSet<String>>Comma separated multiple names of branches. All the other branches are compared with the upstream branches of those branches. [default: master] [config: trim.base]
protected: Vec<CommaSeparatedSet<String>>Comma separated multiple glob patterns (e.g. release-*, feature/*) of branches that should never be deleted.
no_update: boolNot update remotes [config: trim.update]
update: boolno_confirm: boolDo not ask confirm [config: trim.confirm]
confirm: boolno_detach: boolDo not detach when HEAD is about to be deleted [config: trim.detach]
detach: booldelete: Vec<DeleteFilter>Comma separated values of '
You can scope a filter unit to specific remote :<remote name> to a filter unit when the filter unit implies merged-remote or gone-remote.
If there are filter units that are scoped, it trims remote branches only in the specified remote.
If there are any filter unit that isn't scoped, it trims all remote branches.
[default : 'merged:origin'] [config: trim.filter]
dry_run: boolDo not delete branches, show what branches will be deleted.
Methods
impl Args[src]
pub fn update(&self) -> Option<bool>[src]
pub fn confirm(&self) -> Option<bool>[src]
pub fn detach(&self) -> Option<bool>[src]
Trait Implementations
impl ParseArgs for Args[src]
impl StructOpt for Args[src]
fn clap<'a, 'b>() -> App<'a, 'b>[src]
fn from_clap(matches: &ArgMatches) -> Self[src]
fn from_args() -> Self[src]
fn from_iter<I>(iter: I) -> Self where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone, [src]
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
fn from_iter_safe<I>(iter: I) -> Result<Self, Error> where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone, [src]
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
impl StructOptInternal for Args[src]
fn augment_clap<'a, 'b>(app: App<'a, 'b>) -> App<'a, 'b>[src]
fn is_subcommand() -> bool[src]
fn from_subcommand(_sub: (&'b str, Option<&'b ArgMatches<'a>>)) -> Option<Self>[src]
Auto Trait Implementations
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnwindSafe for Args
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,