parallel-disk-usage 0.6.1

Highly parallelized, blazing fast directory tree analyzer
Documentation
pub mod operation;

pub use operation::Operation;

use std::{io::Error, path::Path};

/// Information regarding a filesystem error.
#[derive(Debug)]
pub struct ErrorReport<'a> {
    /// Operation that caused the error.
    pub operation: Operation,
    /// Path where the error occurred.
    pub path: &'a Path,
    /// The error.
    pub error: Error,
}

impl<'a> ErrorReport<'a> {
    /// Do nothing.
    pub const SILENT: fn(ErrorReport) = |_| {};
}

mod text_report;