nushell/crates/nu-protocol
Stefan Stanciulescu 4e171203cc
Fix cd-ing into a file (#831)
* Add custom error for path not being a directory

* Fix cd issue with cd-ing into a file

* Keep formatting style as before

* Check if path is not a directory and return error if that's the case
2022-01-23 15:02:12 +02:00
..
src Fix cd-ing into a file (#831) 2022-01-23 15:02:12 +02:00
tests nothing variable (#527) 2021-12-20 12:05:33 +11:00
Cargo.toml update all cargo crates to edition 2021 (#781) 2022-01-21 00:13:45 +11:00
README.md Add nu-protocol 2021-09-02 13:29:43 +12:00

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.