Skip to content

Commit

Permalink
reorg
Browse files Browse the repository at this point in the history
  • Loading branch information
solidiquis committed Mar 9, 2023
1 parent 70bfcb7 commit afe372a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
File renamed without changes.
3 changes: 0 additions & 3 deletions src/fs/erdtree/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/// Operations that decide how to present info about disk usage.
pub mod disk_usage;

/// Contains components of the [`Tree`] data structure that derive from [`DirEntry`].
///
/// [`Tree`]: tree::Tree
Expand Down
8 changes: 4 additions & 4 deletions src/fs/erdtree/node.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use super::{super::inode::Inode, disk_usage::DiskUsage, get_ls_colors};
use crate::{
fs::erdtree::disk_usage::FileSize,
icons::{self, icon_from_ext, icon_from_file_name, icon_from_file_type},
use super::{
super::{disk_usage::{DiskUsage, FileSize}, inode::Inode},
get_ls_colors,
};
use crate::icons::{self, icon_from_ext, icon_from_file_name, icon_from_file_type};
use ansi_term::Color;
use ansi_term::Style;
use ignore::DirEntry;
Expand Down
6 changes: 4 additions & 2 deletions src/fs/erdtree/tree/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
use super::{
super::error::Error,
disk_usage::{DiskUsage, FileSize},
super::{
disk_usage::{DiskUsage, FileSize},
error::Error,
},
node::{Node, NodePrecursor},
order::Order,
};
Expand Down
3 changes: 3 additions & 0 deletions src/fs/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Operations that decide how to present info about disk usage.
pub mod disk_usage;

/// Errors related to filesystem traversal.
pub mod error;

Expand Down

0 comments on commit afe372a

Please sign in to comment.