directories-rs icon indicating copy to clipboard operation
directories-rs copied to clipboard

a mid-level library that provides config/cache/data paths, following the respective conventions on Linux, macOS and Windows

Results 20 directories-rs issues
Sort by recently updated
recently updated
newest added

Need to know if to use Program\ Files or /usr/share or /usr/games/share.

It would be useful to have a cross-platform way to get the tmp directory. On Mac and Linux, this should return the `/tmp` directory, on Windows it's held within the...

With `dirs` crate I can get any directory directly. But `directories` provides structs and parses all directories at once. Users usually want to get a single directory. I would suggest...

On Windows, data_local_dir is LocalAppData which AIUI is like RoamingAppData but not synchronised across machines. The docs for state_dir say that it's not synchronised across machines. Are they not the...

Adds a local config dir which is identical to `config_dir` on Linux and Mac. On Windows it uses AppData/Local instead of AppData/Roaming. I only ran the tests on Linux cause...

I think there is a missing use case of `config_local_dir`. My program needs a config file with the computer's nickname, like "my laptop". If I use `config_dir`, it will go...

We are using dependabot to keep our dependencies up-to-date. Dependabot parses the CHANGELOG file of a dependency if it is present and includes it in the PR it opens. See...

Currently, on Linux, the organisation name is ignored, and e.g. `ProjectDirs::config_dir()` will return simply `~/.config/appname`. This may be enough for applications with some very unique names, but when using some...

This is the read-only directory where static package files (executables, shared libraries, vendor resources, etc.) is installed. It's different from application data which could be generated during running and should...

Hello, I don’t find a way to retreive `$XDG_DATA_DIRS`. Is it a missing feature? From [XDG specifications](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html): > $XDG_DATA_DIRS defines the preference-ordered set of base directories to search for data...