directories-jvm
directories-jvm copied to clipboard
a tiny library that provides config/cache/data paths, following the respective conventions on Linux, macOS, BSD and Windows
At the moment support is provided for user-level directories of various kinds, but it would be great if there was support for system-level configuration directories too, as they're often used...
> The `$XDG_STATE_HOME` contains state data that should persist between (application) restarts, but that is not important or portable enough to the user that it should be stored in `$XDG_DATA_HOME`.
- Drop all existing mechanisms for retrieving this info on Windows - This increases the required Java version of the library to 22
would it be possible to additionally read properties instead of environment variables to easier test setting the variables? newer than java-17 hanging environment is not easy any more.
any chance instead of returning Strings you could return `Path` objects? or does a `Path` end up not resolving correctly somehow? also I feel like it would be better to...
display error in test when vm crashes, not fork makes it easier. also run github workflow with test on every branch and push to let dev know immediate about other...
would it be possible to simply derive the values from a class? for example my personal pattern is `com.xenoteracide.library` (all apps are libraries) which kind of? maps into what's needed...