Struct checksums::Options [] [src]

pub struct Options {
    pub dir: PathBuf,
    pub algorithm: Algorithm,
    pub verify: bool,
    pub depth: Option<usize>,
    pub file: (String, PathBuf),
    pub follow_symlinks: bool,
    pub ignored_files: BTreeSet<String>,
    pub jobs: usize,
}

Representation of the application's all configurable values.

Fields

Directory to hach/verify. Default: "."

Hashing algorithm to use. Default: "SHA1"

Whether to verify or create checksums. Default: yes

Max recursion depth. Infinite if None. Default: 0

In-/Output filename. Default: "./INFERRED_FROM_DIRECTORY.hash"

Whether to recurse down symlinks. Default: true

Files/directories to ignore. Default: none

Methods

impl Options
[src]

Parse env-wide command-line arguments into an Options instance

Trait Implementations

impl Debug for Options
[src]

Formats the value using the given formatter.

impl Clone for Options
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for Options
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl PartialEq for Options
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Options
[src]