summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
blob: 50a374797e5e2d8f5b1494714b34cf7b49871cdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
extern crate crossbeam_channel;
extern crate humansize;
extern crate num_cpus;
extern crate rayon;

pub mod walk;

/// Basic usage of diskus library
///
/// # Examples
///
/// ```
/// extern crate diskus;
/// 
/// use diskus::Walk;
/// use std::path::PathBuf;
/// 
/// let path = PathBuf::from("/");
/// let paths = vec![path];
/// let walk = Walk::new(&paths, 4);
/// let size = walk.run();
/// ```
pub use walk::Walk;