diff options
author | Andrew Gallant <jamslam@gmail.com> | 2019-05-25 16:12:57 +0300 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2020-01-12 15:33:48 +0300 |
commit | 9c838a67c16b06ce12be70e3a435043ececb25bf (patch) | |
tree | b38b49aabf6b5ea0d2dda618257df61902a8b1a7 | |
parent | 6b1442a1597fbb6260acdca4b56476ca5be4c7c4 (diff) |
internals: re-arrange implementation
This moves the DirEntry and Error types out into their own separate
modules.
This is prep work to (hopefully) make the impending refactoring (or
more likely, rewrite) more palatable.
-rw-r--r-- | src/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -110,8 +110,6 @@ for entry in walker.filter_entry(|e| !is_hidden(e)) { #[cfg(test)] doc_comment::doctest!("../README.md"); -pub mod os; - use std::cmp::{min, Ordering}; use std::fmt; use std::fs::{self, ReadDir}; @@ -129,6 +127,7 @@ pub use crate::error::Error; mod dent; mod error; +pub mod os; #[cfg(test)] mod tests; mod util; |