Add a private method to AppDirs to allow specifying the environment
cjbassi opened this issue · comments
Caleb Bassi commented
Would help with testing and allow us to not modify environmental variables.
Example: https://github.com/whitequark/rust-xdg/blob/master/src/lib.rs#L228