Except for places where this makes no sense. Note that real_parent touches the filesystem and requires the path to exist. Also, unable to use it in nu-test-support without breaking the test commands::ucp::copies_the_file_inside_directory_if_path_to_copy_is_directory which switches cwd out from under its feet (I think). |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml | ||
LICENSE | ||
README.md |
nu-protocol
The nu-protocol crate holds the definitions of structs/traits that are used throughout Nushell. This gives us one way to expose them to many other crates, as well as make these definitions available to each other, without causing mutually recursive dependencies.