pathify 1.0.4 copy "pathify: ^1.0.4" to clipboard
pathify: ^1.0.4 copied to clipboard

A byte-level, cross-platform path manipulation library for Dart, ported from Rust's std::path.

Changelog #

1.0.4 #

  • Added deprecation guidance for implicit PathBuf.toString() usage to encourage explicit use of toStr() or toStringLossy() for binary-safe path handling

1.0.3+4 #

  • All _units mutations routed through _mutateUnits to guarantee cache invalidation

1.0.2 #

  • Refactored to UnixPaths and WindowsPaths constant classes

1.0.1 #

  • Added UnixPathConstants and WindowsPathConstants constant classes

1.0.0+4 #

  • PathBuf is now immutable
  • toStr and toStringLossy results are cached on first call

1.0.0+3 #

  • Byte-level path manipulation API (PathBuf)

  • Cross-platform support for POSIX and Windows paths

  • Automatic platform detection with optional manual override

  • Full Windows prefix support:

    • Disk (C:\)
    • UNC (\\server\share)
    • Device namespace (\\.\)
    • Verbatim (\\?\)
    • Verbatim UNC and Verbatim Disk
  • Correct handling of UTF-8 (POSIX) and UTF-16 (Windows)

  • Safe handling of non-UTF-8 and malformed sequences

  • Component-based path parsing and iteration

  • Support for emoji and foreign language paths

1
likes
0
points
264
downloads

Publisher

verified publisherganeshrvel.com

Weekly Downloads

A byte-level, cross-platform path manipulation library for Dart, ported from Rust's std::path.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

meta, option_result

More

Packages that depend on pathify