method Path.of
The path with this text.
Example:
use std.io { Path }
fn main() io {
print(Path.of("/usr/lib").text)
}Output
/usr/lib
pub(api) static fn of(text: str) -> PathSince. 1.0.0-beta
Parameters
| Name | Type |
|---|---|
text | str |
Returns
Effects
none declared (pure unless the body says otherwise)
Defined in: std/io/io.oxl:846