Docs.rs
nu-path-0.109.1
nu-path 0.109.1
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
github:nushell:publishing
sophiajt
Dependencies
dirs ^6.0
normal
ref-cast ^1.0.23
normal
pwd ^1.3
normal
omnipath ^0.1
normal
Versions
76.6%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Module expansions
nu_path
0.109.1
Module expansions
Module Items
Functions
In crate nu_
path
nu_path
Module
expansions
Copy item path
Source
Functions
§
canonicalize_
with
Resolve all symbolic links and all components (tilde, ., .., …+) and return the path in its absolute form.
expand_
path
Resolve only path components (tilde, ., .., …+), if possible.
expand_
path_
with
Resolve only path components (tilde, ., .., …+), if possible.
expand_
to_
real_
path
Resolve to a path that is accepted by the system and no further - tilde is expanded, and ndot path components are expanded.
locate_
in_
dirs
Attempts to canonicalize the path against the current directory. Failing that, if the path is relative, it attempts all of the dirs in
dirs
. If that fails, it returns the original error.