joat-path

Crates.iojoat-path
lib.rsjoat-path
version0.0.9
sourcesrc
created_at2023-04-19 00:04:59.322436
updated_at2023-05-21 17:34:52.657035
descriptionAbsolute paths
homepagehttps://github.com/rcook/joat-path-rs
repositoryhttps://github.com/rcook/joat-path-rs
max_upload_size
id843038
size31,717
Richard Cook (rcook)

documentation

README

joat-path-rs

CI Publish crates.io

Absolute paths

Use package

Get it from crates.io:

cargo add joat-path

About

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.

Commit count: 50

cargo fmt