Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External review of the chosen paths to standardized directories on each platform #2

Closed
3 tasks done
soc opened this issue Feb 22, 2018 · 1 comment
Closed
3 tasks done

Comments

@soc
Copy link
Collaborator

soc commented Feb 22, 2018

Many of the paths to standardized directories are thoroughly documented by each operating system vendor, but it would still be helpful for someone not me to go through them and give things a second review.

There are also cases where some directories just don't exist or have a very different behavior:

For instance executables_dir: On Linux, one can expect that binaries placed in this folder also end up on the $PATH, but no such folder exists on macOS and Windows.

It would be helpful to go through the ones that return Option<PathBuf> and make sure these provide the best possible experience given the circumstances.

@soc soc changed the title External review of the chosen directories on each platform External review of the chosen paths to standardized directories on each platform Feb 22, 2018
@soc
Copy link
Collaborator Author

soc commented Apr 20, 2018

XDG user dirs return None instead of inventing some fallback, this is consistent with directories-jvm.

@soc soc closed this as completed Apr 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant