Crate utf8_path

Source
Expand description

Utility methods for creating and manipulating UTF-8 paths.

Traits§

Functions§

  • Given a path with internal . and .., normalize out those path segments.
  • Helper to make one path relative to a directory.
  • Helper to convert an absolute path into a path relative to the current directory
  • Helper to make a path relative to the path to a file. This is the same as [path_relative_from(file.parent()?)]
  • Helper to resolve a path that’s relative to some other path into a normalized path.
  • Helper to resolve a path that’s relative to some other path into a normalized path.