Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/walkdir.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2019-05-25 16:12:57 +0300
committerAndrew Gallant <jamslam@gmail.com>2020-01-12 15:33:48 +0300
commit9c838a67c16b06ce12be70e3a435043ececb25bf (patch)
treeb38b49aabf6b5ea0d2dda618257df61902a8b1a7
parent6b1442a1597fbb6260acdca4b56476ca5be4c7c4 (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.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 24c4cec..b2fb759 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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;