pub struct FileResults {
pub no_header_files: Vec<PathBuf>,
pub binary_files: Vec<PathBuf>,
}
Expand description
Aggregated results for recursively checking a directory tree of files.
Fields§
§no_header_files: Vec<PathBuf>
Paths that did not have a header
binary_files: Vec<PathBuf>
Paths that appeared to be binary, not UTF-8 text
Implementations§
Source§impl FileResults
impl FileResults
Sourcepub fn has_failure(&self) -> bool
pub fn has_failure(&self) -> bool
Returns true
if any files scanned did not have a header
Trait Implementations§
Source§impl Clone for FileResults
impl Clone for FileResults
Source§fn clone(&self) -> FileResults
fn clone(&self) -> FileResults
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FileResults
impl Debug for FileResults
Source§impl Default for FileResults
impl Default for FileResults
Source§fn default() -> FileResults
fn default() -> FileResults
Returns the “default value” for a type. Read more
Source§impl PartialEq for FileResults
impl PartialEq for FileResults
impl StructuralPartialEq for FileResults
Auto Trait Implementations§
impl Freeze for FileResults
impl RefUnwindSafe for FileResults
impl Send for FileResults
impl Sync for FileResults
impl Unpin for FileResults
impl UnwindSafe for FileResults
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more