[][src]Struct git_trim::args::Args

pub struct Args {
    pub bases: Vec<CommaSeparatedUniqueVec<String>>,
    pub protected: Vec<CommaSeparatedSet<String>>,
    pub no_update: bool,
    pub update: bool,
    pub no_confirm: bool,
    pub confirm: bool,
    pub no_detach: bool,
    pub detach: bool,
    pub delete: Option<DeleteFilter>,
    pub dry_run: bool,
}

Fields

bases: Vec<CommaSeparatedUniqueVec<String>>

Comma separated or a multiple arguments of refs that other refs are compared to determine whether it is merged or gone. [default: master] [config: trim.base]

protected: Vec<CommaSeparatedSet<String>>no_update: bool

Not update remotes [config: trim.update]

update: boolno_confirm: bool

Do not ask confirm [config: trim.confirm]

confirm: boolno_detach: bool

Do not detach when HEAD is about to be deleted [config: trim.detach]

detach: booldelete: Option<DeleteFilter>

Comma separated values of [all, merged, gone, local, remote, merged-local, merged-remote, gone-local, gone-remote]. 'all' is equivalent to 'merged-local,merged-remote,gone-local,gone-remote'. 'merged' is equivalent to 'merged-local,merged-remote'. 'gone' is equivalent to 'gone-local,gone-remote'. 'local' is equivalent to 'merged-local,gone-local'. 'remote' is equivalent to 'merged-remote,gone-remote'. [default : 'merged'] [config: trim.filter]

dry_run: bool

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]

type Error = Error

Error type. Read more

impl StructOpt for Args[src]

impl StructOptInternal for Args[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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,