refactor: move du from platform to filesystem (#11852)

# Description
`du` command shouldn't belong to `platform`, so I think we should move
it to `filesystem` directory
This commit is contained in:
Wind 2024-02-15 06:55:21 +08:00 committed by GitHub
parent a603b067e5
commit fd7eef1499
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,5 @@
mod cd;
mod du;
mod glob;
mod ls;
mod mkdir;
@ -17,6 +18,7 @@ mod watch;
pub use self::open::Open;
pub use cd::Cd;
pub use du::Du;
pub use glob::Glob;
pub use ls::Ls;
pub use mkdir::Mkdir;

View File

@ -1,7 +1,6 @@
mod ansi;
mod clear;
mod dir_info;
mod du;
mod input;
mod is_terminal;
mod kill;
@ -14,7 +13,6 @@ mod whoami;
pub use ansi::{Ansi, AnsiLink, AnsiStrip};
pub use clear::Clear;
pub use dir_info::{DirBuilder, DirInfo, FileInfo};
pub use du::Du;
pub use input::Input;
pub use input::InputList;
pub use input::InputListen;

View File

@ -21,6 +21,7 @@ mod default;
mod detect_columns;
mod do_;
mod drop;
mod du;
mod each;
mod echo;
mod empty;

View File

@ -1,3 +1,2 @@
mod ansi_;
mod du;
mod kill;