lfs-core 0.3.1

give information on mounted disks
Documentation
/*!

Use `lfs_core::read_mounts` to get information on all mounted volumes on a unix system.

```
// get all mount points
let mut mounts = lfs_core::read_mounts().unwrap();
// only keep the one with size stats
mounts.retain(|m| m.stats.is_some());
// print them
for mount in mounts {
    dbg!(mount);
}
```

The [lfs](https://github.com/Canop/lfs) is a viewer for lfs-core and shows you the information you're expected to find in mounts.

*/

mod device_id;
mod disk;
mod error;
mod mount;
mod mountinfo;
mod stats;
mod sys;

pub use {
    device_id::DeviceId,
    disk::{read_disks, Disk},
    error::{Error, Result},
    mount::{read_mounts, Mount},
    mountinfo::{read_mountinfo, MountId, MountInfo},
    stats::Stats,
};