Module kernel::fs::path

source ·
Expand description

A library for parsing, manipulating Paths that follow unix style conventions.

This is similar to how the standard library’s Path works, but may have less features.

For simplicity, this uses str and String instead of OsStr and OsString. Makes it much easier to work with.

Macros

Structs

Enums

  • A single component of a path.
  • State 🔒
    Component parsing works by a double-ended state machine; the cursors at the front and back of the path each keep track of what parts of the path have been consumed so far.

Constants

Functions