Skip to main content

Module path

Module path 

Source
Expand description

Path method implementations.

Uses path_parse for format-aware path manipulation instead of std::path::Path which only understands the host OS’s path format.

Functions§

as_posix_fn
is_absolute
Cross-platform is_absolute that respects path_format regardless of host OS.
is_absolute_fn
is_relative_to_fn
join
Join two path strings using the separator and absoluteness rules for fmt.
make_apply_path_mapping_fn
Build a closure for apply_path_mapping that captures the given rules.
non_uri_join
Join two path strings without recognizing URIs as absolute.
prop_name
prop_parent
prop_parts
prop_stem
prop_suffix
prop_suffixes
relative_to_fn
with_name_fn
with_number_fn
with_stem_fn
with_suffix_fn