method Path.show
The path as text.
Example:
use std.io { Path }
fn main() io {
print(Path.of("/etc/hosts").show())
}Output
/etc/hosts
pub(api) fn show() -> strSince. 1.0.0-beta
Returns
str
Effects
none declared (pure unless the body says otherwise)
Defined in: std/io/io.oxl:1047