[][src]Struct organize_rt::Options

pub struct Options {
    pub recursive: bool,
    pub hidden: bool,
    pub verbose: bool,
    pub quiet: bool,
    pub dry_run: bool,
    pub undo: bool,
    pub log_path: PathBuf,
    pub source: PathBuf,
    pub output: PathBuf,
    // some fields omitted
}

Tool for organizing files in garbage dirs like 'Downloads'.

Fields

recursive: boolhidden: bool

Include hidden files/directories

verbose: bool

Show more info

quiet: bool

Quiet run, empty output

dry_run: bool

Prints where the file would move, but does not move

undo: bool

Undo action (require log)

log_path: PathBuf

Path to save/load log

source: PathBufoutput: PathBuf

Implementations

impl Options[src]

pub fn verbose_print(&self, text: &str)[src]

pub fn default_print(&self, text: &str)[src]

pub fn resolve(&mut self)[src]

Trait Implementations

impl StructOpt for Options[src]

impl StructOptInternal for Options[src]

Auto Trait Implementations

impl RefUnwindSafe for Options

impl Send for Options

impl Sync for Options

impl Unpin for Options

impl UnwindSafe for Options

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>,