MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / PathBuf

Class PathBuf

euralios_std/src/path.rs:93–95  ·  view source on GitHub ↗

An owned, mutable path (akin to [`String`]). This type provides methods like [`push`] and [`set_extension`] that mutate the path in place. It also implements [`Deref`] to [`Path`], meaning that all methods on [`Path`] slices are available on `PathBuf` values as well. [`push`]: PathBuf::push [`set_extension`]: PathBuf::set_extension More details about the overall approach can be found in the [mo

Source from the content-addressed store, hash-verified

91// Anyway, `PathBuf` representation and layout are considered implementation detail, are
92// not documented and must not be relied upon.
93pub struct PathBuf {
94 inner: OsString,
95}
96
97impl PathBuf {
98 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected