mirror of
https://github.com/nushell/nushell.git
synced 2025-04-30 16:14:27 +02:00
This is partially "feng-shui programming" of moving things to new separate places. The later commits include "`git blame` tollbooths" by moving out chunks of code into new files, which requires an extra step to track things with `git blame`. We can negiotiate if you want to keep particular things in their original place. If egregious I tried to add a bit of documentation. If I see something that is unused/unnecessarily `pub` I will try to remove that. - Move `nu_protocol::Exportable` to `nu-parser` - Guess doccomment for `Exportable` - Move `Unit` enum from `value` to `AST` - Move engine state `Variable` def into its folder - Move error-related files in `nu-protocol` subdir - Move `pipeline_data` module into its own folder - Move `stream.rs` over into the `pipeline_data` mod - Move `PipelineMetadata` into its own file - Doccomment `PipelineMetadata` - Remove unused `is_leap_year` in `value/mod` - Note about criminal `type_compatible` helper - Move duration fmting into new `value/duration.rs` - Move filesize fmting logic to new `value/filesize` - Split reexports from standard imports in `value/mod` - Doccomment trait `CustomValue` - Polish doccomments and intradoc links
22 lines
349 B
Rust
22 lines
349 B
Rust
mod block;
|
|
mod call;
|
|
mod cell_path;
|
|
mod expr;
|
|
mod expression;
|
|
mod import_pattern;
|
|
mod match_pattern;
|
|
mod operator;
|
|
mod pipeline;
|
|
mod unit;
|
|
|
|
pub use block::*;
|
|
pub use call::*;
|
|
pub use cell_path::*;
|
|
pub use expr::*;
|
|
pub use expression::*;
|
|
pub use import_pattern::*;
|
|
pub use match_pattern::*;
|
|
pub use operator::*;
|
|
pub use pipeline::*;
|
|
pub use unit::*;
|