mirror of
https://github.com/nushell/nushell
synced 2024-12-28 14:03:09 +00:00
ae5fed41ed
# Description Part 3 of replacing `std::path` types with `nu_path` types added in #13115. This PR targets the paths listed in `$nu`. That is, the home, config, data, and cache directories.
17 lines
482 B
Rust
17 lines
482 B
Rust
#![doc = include_str!("../README.md")]
|
|
mod assert_path_eq;
|
|
mod components;
|
|
pub mod dots;
|
|
pub mod expansions;
|
|
pub mod form;
|
|
mod helpers;
|
|
mod path;
|
|
mod tilde;
|
|
mod trailing_slash;
|
|
|
|
pub use components::components;
|
|
pub use expansions::{canonicalize_with, expand_path_with, expand_to_real_path, locate_in_dirs};
|
|
pub use helpers::{cache_dir, config_dir, data_dir, home_dir};
|
|
pub use path::*;
|
|
pub use tilde::expand_tilde;
|
|
pub use trailing_slash::{has_trailing_slash, strip_trailing_slash};
|