nushell/crates/nu-command/src/path
Hilmar Gústafsson 90ddb23492
Add Path commands (#280)
* Add Path command

* Add `path basename`

* Refactor operate into `mod`

* Add `path dirname`

* Add `path exists`

* Add `path expand`

* Remove Arc wrapper for args

* Add `path type`

* Add `path relative`

* Add `path parse`

* Add `path split`

* Add `path join`

* Fix errors after rebase

* Convert to Path in `operate`

* Fix table behavior in `path join`

* Use conditional import in `path parse`

* Fix missing cases for `path join`

* Update default_context.rs

* clippy

* Fix tests

* Fix tests

Co-authored-by: JT <547158+jntrnr@users.noreply.github.com>
Co-authored-by: JT <jonathan.d.turner@gmail.com>
2021-12-13 12:47:14 +11:00
..
basename.rs Add Path commands (#280) 2021-12-13 12:47:14 +11:00
command.rs Add Path commands (#280) 2021-12-13 12:47:14 +11:00
dirname.rs Add Path commands (#280) 2021-12-13 12:47:14 +11:00
exists.rs Add Path commands (#280) 2021-12-13 12:47:14 +11:00
expand.rs Add Path commands (#280) 2021-12-13 12:47:14 +11:00
join.rs Add Path commands (#280) 2021-12-13 12:47:14 +11:00
mod.rs Add Path commands (#280) 2021-12-13 12:47:14 +11:00
parse.rs Add Path commands (#280) 2021-12-13 12:47:14 +11:00
relative_to.rs Add Path commands (#280) 2021-12-13 12:47:14 +11:00
split.rs Add Path commands (#280) 2021-12-13 12:47:14 +11:00
type.rs Add Path commands (#280) 2021-12-13 12:47:14 +11:00