[−][src]Module af_lib::path
Path string manipulation and inspection.
Macros
join | Joins multiple paths together. |
normalize | Joins multiple paths together and then normalizes the result. |
resolve | Joins multiple paths together and then resolves the result. |
Constants
SEPARATOR | The primary separator of path components for the current platform. |
Traits
PathLike | A trait for values that can be used in path operations. |
Functions
append | Appends a relative path to a base path. |
as_std | Converts a value into a |
is_absolute | Returns |
is_separator | Determines whether the character is one of the permitted path separators for the current platform. |
join | Joins a base path and a relative path. |
last | Returns the last component of the path. |
normalize | Normalizes a path. |
normalized | Returns a normalized version of the given path. |
parent | Returns the parent of the given path. |
pop | Removes the last component from the path and returns it. |
resolve | Resolves the given path into an absolute, normalized path. |
resolved | Returns an absolute, normalized version of the given path. |
starts_with | Returns |
with_trailing_sep | Returns the given path with a trailing separator if it does not already have one. |