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
dir: PathBuf
Directory to hach/verify. Default: "."
algorithm: Algorithm
Hashing algorithm to use. Default: "SHA1"
verify: bool
Whether to verify or create checksums. Default: yes
depth: Option<usize>
Max recursion depth. Infinite if None. Default: 0
file: (String, PathBuf)
In-/Output filename. Default: "./INFERRED_FROM_DIRECTORY.hash"
follow_symlinks: bool
Whether to recurse down symlinks. Default: true
ignored_files: BTreeSet<String>
Files/directories to ignore. Default: none
jobs: usize
Methods
impl Options
[src]
Trait Implementations
impl Debug for Options
[src]
impl Clone for Options
[src]
fn clone(&self) -> Options
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Hash for Options
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl PartialEq for Options
[src]
fn eq(&self, __arg_0: &Options) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Options) -> bool
This method tests for !=
.