os_paths 1.0.0 copy "os_paths: ^1.0.0" to clipboard
os_paths: ^1.0.0 copied to clipboard

OS-specific standard directories (XDG on Linux/BSD, ~/Library on macOS, %APPDATA% on Windows) for Flutter and Dart apps.

Changelog #

1.0.0 #

  • Initial release.
  • OsPaths resolves standard directories on Linux/BSD (XDG Base Directory Specification), macOS (~/Library) and Windows (%APPDATA%, %LOCALAPPDATA%, %ProgramData%).
  • xdg-user-dirs support: ~/.config/user-dirs.dirs is parsed for localized Desktop/Documents/Downloads/... locations.
  • AppPaths for per-application directories following each platform's naming conventions, with ensure* helpers that create them.
  • ExplicitPaths for supplying sandboxed Android/iOS directories obtained from path_provider.
  • Injectable environment and file reader, so every platform's behaviour is testable from any host.
0
likes
160
points
7
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

OS-specific standard directories (XDG on Linux/BSD, ~/Library on macOS, %APPDATA% on Windows) for Flutter and Dart apps.

Repository (GitHub)
View/report issues

Topics

#paths #filesystem #xdg #directories

License

MIT (license)

More

Packages that depend on os_paths