chipsenkbeil / typed-path

Provides typed variants of Path and PathBuf for Unix and Windows
38 stars 6 forks source link

Feat/add to encoding function #10

Closed chipsenkbeil closed 1 year ago

chipsenkbeil commented 1 year ago

Adds absolutize and to_encoding to the Path and Utf8Path structs while also adding root, parent, and current static methods to the Component and Utf8Component traits.

This should ideally provide similar functionality to path-absolutize.

Finishes resolving #8.