mirror of
https://github.com/obhq/exfat.git
synced 2024-10-06 16:33:30 +00:00
Makes directory module private and re-export its items
This commit is contained in:
parent
13ba851724
commit
9e324e9dd1
@ -18,6 +18,12 @@ for item in root {
|
||||
}
|
||||
```
|
||||
|
||||
## Breaking changes
|
||||
|
||||
### 0.1 to 0.2
|
||||
|
||||
My Rust skill has improved a lot since version 0.1 so I take this semver breaking change to make a lot of things better. That mean version 0.2 is not compatible with 0.1 in any ways.
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
|
@ -1,5 +1,7 @@
|
||||
pub use self::directory::*;
|
||||
pub use self::disk::*;
|
||||
|
||||
use self::cluster::ClustersReader;
|
||||
use self::directory::{Directory, Item};
|
||||
use self::entries::{ClusterAllocation, EntriesReader, EntryType, FileEntry};
|
||||
use self::fat::Fat;
|
||||
use self::file::File;
|
||||
@ -9,10 +11,8 @@ use core::fmt::Debug;
|
||||
use std::sync::Arc;
|
||||
use thiserror::Error;
|
||||
|
||||
pub use self::disk::*;
|
||||
|
||||
pub mod cluster;
|
||||
pub mod directory;
|
||||
mod directory;
|
||||
mod disk;
|
||||
pub mod entries;
|
||||
pub mod fat;
|
||||
|
@ -1,6 +1,5 @@
|
||||
use exfat::directory::Item;
|
||||
use exfat::timestamp::Timestamp;
|
||||
use exfat::Root;
|
||||
use exfat::{Item, Root};
|
||||
use std::fs::File;
|
||||
use std::io::Read;
|
||||
use std::path::PathBuf;
|
||||
|
Loading…
Reference in New Issue
Block a user