4 releases

0.0.9 May 21, 2023
0.0.8 Apr 20, 2023
0.0.7 Apr 20, 2023
0.0.6 Apr 19, 2023

#1028 in Filesystem

27 downloads per month

MIT license

559 lines


CI Publish crates.io

Absolute paths

Use package

Get it from crates.io:

cargo add joat-path


This is a fork of path-clean. The main distinguishing feature is that this package provides the following three APIs:

  • clean: clean paths according to rules of host operating system (i.e. Unix on Unix, Windows on Windows)
  • clean_unix: clean paths according to Unix rules
  • clean_windows: clean paths according to Windows rules

This enables manipulation of Unix paths on Windows and Windows paths on Unix which has real-world applications. TBD: Document the real-world applications here.

No runtime deps