File Paths
Work with textual file paths, including relativity and resolution. Features:
- Variant:
FlexPathmethods consider absolute paths according to the path'sFlexPathVariant. Two variants are supported:CommonandWindows. The native variant can be deduced directly through_nativesuffixed methods. - Normalization: normalize paths with the
normalize_path()function, whether they exist or not (does not solve for symlinks and real letter case).
Requirements:
- The Rust standard library (
std).
Example
use FlexPath;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!