Expand description
Workspace-relative paths.
Constants§
- CASE_
INSENSITIVE_ FS - Whether the local filesystem is assumed case-insensitive.
Functions§
- is_
valid_ rel - A well-formed workspace-relative POSIX path that cannot escape the root.
Rejects paths with drive-letter prefixes in any segment (e.g.,
C:,x:) to prevent escaping on Windows, wherePathBuf::pushreplaces the whole path if given a drive prefix. - rel_
from_ native - The POSIX workspace-relative form of
abs. - representable
- Whether this OS can hold a file at
rel. - representable_
on - Whether an OS (Windows when
windows, otherwise POSIX) can hold a file atrel. - to_
native - Join a POSIX workspace-relative path onto
root.