nushell/crates/nu-protocol/src
Stefan Holderbach f695ba408a
Restructure nu-protocol in more meaningful units (#11917)
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
2024-03-10 18:45:45 +01:00
..
ast Restructure nu-protocol in more meaningful units (#11917) 2024-03-10 18:45:45 +01:00
config Keep plugins persistently running in the background (#12064) 2024-03-09 17:10:22 -06:00
debugger Debugger experiments (#11441) 2024-03-08 20:21:35 +02:00
engine Restructure nu-protocol in more meaningful units (#11917) 2024-03-10 18:45:45 +01:00
errors Restructure nu-protocol in more meaningful units (#11917) 2024-03-10 18:45:45 +01:00
pipeline_data Restructure nu-protocol in more meaningful units (#11917) 2024-03-10 18:45:45 +01:00
plugin Keep plugins persistently running in the background (#12064) 2024-03-09 17:10:22 -06:00
value Restructure nu-protocol in more meaningful units (#11917) 2024-03-10 18:45:45 +01:00
alias.rs Refactor scope commands (#10023) 2023-08-17 11:58:38 +03:00
did_you_mean.rs Improve case insensitivity consistency (#10884) 2023-11-08 23:58:54 +01:00
eval_base.rs Debugger experiments (#11441) 2024-03-08 20:21:35 +02:00
eval_const.rs Debugger experiments (#11441) 2024-03-08 20:21:35 +02:00
example.rs remove unused imports: Deserialize, Serialize compiler warning for nu-protocol/src/example.rs (#8514) 2023-03-18 11:45:12 -07:00
id.rs Add virtual path abstraction layer (#9245) 2023-05-23 23:48:50 +03:00
lev_distance.rs Suggest existing variables on not found (#8902) 2023-05-02 18:17:14 +03:00
lib.rs Restructure nu-protocol in more meaningful units (#11917) 2024-03-10 18:45:45 +01:00
module.rs Error on use path item1 item2, if item1 is not a module (#11183) 2023-12-05 11:38:45 +01:00
signature.rs Replace debug_assert! with assert! in Signature::check_names (#11937) 2024-02-22 16:17:06 -06:00
span.rs Replace panics with errors in thread spawning (#12040) 2024-03-02 11:14:02 -06:00
syntax_shape.rs open, rm, umv, cp, rm and du: Don't globs if inputs are variables or string interpolation (#11886) 2024-02-23 09:17:09 +08:00
ty.rs Glob: don't allow implicit casting between glob and string (#11992) 2024-02-28 23:05:35 +08:00
util.rs Convert more ShellError variants to named fields (#11173) 2023-11-28 06:43:51 -06:00