Merge #282
282: init path submodule as unstable r=yoshuawuyts a=yoshuawuyts Ref #183. Similar to #257 this adds the `path` submodule as unstable. Filling in all re-exports from std for module completion. From there the we can build out `Path` and `PathBuf` accordingly. Thanks! Co-authored-by: Yoshua Wuyts <yoshuawuyts@gmail.com>staging
commit
ddee47231a
@ -0,0 +1,21 @@
|
|||||||
|
//! Cross-platform path manipulation.
|
||||||
|
//!
|
||||||
|
//! This module is an async version of [`std::path`].
|
||||||
|
//!
|
||||||
|
//! [`std::path`]: https://doc.rust-lang.org/std/path/index.html
|
||||||
|
|
||||||
|
// Structs re-export
|
||||||
|
#[doc(inline)]
|
||||||
|
pub use std::path::{Ancestors, Components, Display, Iter, PrefixComponent, StripPrefixError};
|
||||||
|
|
||||||
|
// Enums re-export
|
||||||
|
#[doc(inline)]
|
||||||
|
pub use std::path::{Component, Prefix};
|
||||||
|
|
||||||
|
// Constants re-export
|
||||||
|
#[doc(inline)]
|
||||||
|
pub use std::path::MAIN_SEPARATOR;
|
||||||
|
|
||||||
|
// Functions re-export
|
||||||
|
#[doc(inline)]
|
||||||
|
pub use std::path::is_separator;
|
Loading…
Reference in New Issue