mirror of
https://github.com/nushell/nushell.git
synced 2025-01-11 16:58:41 +01:00
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:
parent
a603b067e5
commit
fd7eef1499
@ -1,4 +1,5 @@
|
|||||||
mod cd;
|
mod cd;
|
||||||
|
mod du;
|
||||||
mod glob;
|
mod glob;
|
||||||
mod ls;
|
mod ls;
|
||||||
mod mkdir;
|
mod mkdir;
|
||||||
@ -17,6 +18,7 @@ mod watch;
|
|||||||
|
|
||||||
pub use self::open::Open;
|
pub use self::open::Open;
|
||||||
pub use cd::Cd;
|
pub use cd::Cd;
|
||||||
|
pub use du::Du;
|
||||||
pub use glob::Glob;
|
pub use glob::Glob;
|
||||||
pub use ls::Ls;
|
pub use ls::Ls;
|
||||||
pub use mkdir::Mkdir;
|
pub use mkdir::Mkdir;
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
mod ansi;
|
mod ansi;
|
||||||
mod clear;
|
mod clear;
|
||||||
mod dir_info;
|
mod dir_info;
|
||||||
mod du;
|
|
||||||
mod input;
|
mod input;
|
||||||
mod is_terminal;
|
mod is_terminal;
|
||||||
mod kill;
|
mod kill;
|
||||||
@ -14,7 +13,6 @@ mod whoami;
|
|||||||
pub use ansi::{Ansi, AnsiLink, AnsiStrip};
|
pub use ansi::{Ansi, AnsiLink, AnsiStrip};
|
||||||
pub use clear::Clear;
|
pub use clear::Clear;
|
||||||
pub use dir_info::{DirBuilder, DirInfo, FileInfo};
|
pub use dir_info::{DirBuilder, DirInfo, FileInfo};
|
||||||
pub use du::Du;
|
|
||||||
pub use input::Input;
|
pub use input::Input;
|
||||||
pub use input::InputList;
|
pub use input::InputList;
|
||||||
pub use input::InputListen;
|
pub use input::InputListen;
|
||||||
|
@ -21,6 +21,7 @@ mod default;
|
|||||||
mod detect_columns;
|
mod detect_columns;
|
||||||
mod do_;
|
mod do_;
|
||||||
mod drop;
|
mod drop;
|
||||||
|
mod du;
|
||||||
mod each;
|
mod each;
|
||||||
mod echo;
|
mod echo;
|
||||||
mod empty;
|
mod empty;
|
||||||
|
@ -1,3 +1,2 @@
|
|||||||
mod ansi_;
|
mod ansi_;
|
||||||
mod du;
|
|
||||||
mod kill;
|
mod kill;
|
||||||
|
Loading…
Reference in New Issue
Block a user