Crate relative_path [] [src]

A platform-neutral relative path.

This library is analogous to std::path::Path, and std::path::PathBuf, with the exception of the following characteristics:

  • The path separator is set to a fixed character (/), regardless of platform.
  • Relative paths cannot represent an absolute path. Any slash (/) prefixes provided will only apply to operations involving relative paths, they will be considered as relative to the path provided during conversion.

Structs

Components

Iterator over all the components in a relative path.

RelativePath

A borrowed, immutable relative path.

RelativePathBuf

An owned, mutable relative path.