Skip to main content

Crate redox_path

Crate redox_path 

Source

Structs§

RedoxReference
The part of a path that is sent to each scheme
RedoxScheme
The name of a scheme

Enums§

RedoxPath
A fully qualified Redox path
RedoxStr
A valid path (checked against NUL) that can be fully qualified RedoxPath or relative RedoxReference

Constants§

PATH_MAX
PATH_MAX constant used in this crate

Functions§

canonicalize_to_standard
Canonicalize as in canonicalize_using_cwd, but Legacy format paths are canonicalized into UNIX format.
canonicalize_using_cwd
Make a relative path absolute using an optional current working directory.
canonicalize_using_cwd_with_max_upward
Make a path that is relative to the root of a scheme into a full path, following the rules of canonicalize_using_cwd, but with upward_max to ensure the returned path stays within the true root.
canonicalize_using_scheme
Make a path that is relative to the root of a scheme into a full path, following the rules of canonicalize_using_cwd.
make_scheme_name
Make a scheme name (not a full path) for a device of a given category
scheme_path
The standard path for a given scheme name