Module path

Module path 

Source
Expand description

Path handling for UNIX

Structs§

XPath
A borrowed slice of an XPathBuf.
XPathBuf
PathBuf for UNIX.

Constants§

PATH_MAX
A safe constant to use as PATH_MAX without relying on libc.
PATH_MIN
A safe default size to use for paths.

Functions§

mask_path
Logs an untrusted Path, escaping it as hex if it contains control characters.