Module path

Module path 

Source
Expand description

Work with paths.

Modules§

exposed
Exposed namespace of the module.
orphan
Orphan namespace of the module.
own
Own namespace of the module.
prelude
Prelude to use essentials: use my_module::prelude::*.

Structs§

AbsolutePath
A new type representing an absolute path.
CurrentPath
Symbolize current path.
Path
A slice of a path (akin to str).
PathBuf
An owned, mutable path (akin to String).
Utf8Path
A slice of a UTF-8 path (akin to str).
Utf8PathBuf
An owned, mutable UTF-8 path (akin to String).

Traits§

TransitiveTryFrom
A trait to perform a transitive try_from conversion.

Functions§

normalize
Normalizes a given filesystem path by syntactically removing occurrences of . and properly handling .. components.
unique_folder_name
Generates a unique folder name using the current system time, process ID, thread ID, and an internal thread-local counter.