Module paths

Module paths 

Source

Structs§

NormalizeError
PathMatcher
PathWithPosition
A representation of a path-like string with optional row and column numbers. Matching values example: te, test.rs:22, te:22:5, test.c(22), test.c(22,5)etc.
RemotePathBuf
SanitizedPath
In memory, this is identical to Path. On non-Windows conversions to this type are no-ops. On windows, these conversions sanitize UNC paths by removing the \\\\?\\ prefix.

Enums§

PathStyle

Constants§

FILE_ROW_COLUMN_DELIMITER
A delimiter to use in path_query:row_number:column_number strings parsing.

Traits§

PathExt

Functions§

compare_paths
compare_rel_paths
home_dir
Returns the path to the user’s home directory.
is_absolute
normalize_lexically
Copied from stdlib where it’s unstable.
path_ends_with
strip_path_suffix