Use XDG base directories by default on Unix systems by liff · Pull Request #60 · oracle/visualvm
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 330
Open
Use XDG base directories by default on Unix systems#60
liff wants to merge 1 commit intooracle:masterfrom
Use XDG base directories by default on Unix systems#60
liff wants to merge 1 commit intooracle:masterfrom
Conversation
Copy link Copy Markdown
liff
commented
Jan 31, 2018
liff
commented
See XDG Base Directory Specification .
Chooses userdir as follows:
- Use
~/.visualvmif it already exists (so as to not break existing usage), - use
$XDG_DATA_HOME/visualvmifXDG_DATA_HOMEenvironment variable is defined and otherwise - use
~/.local/share/visualvm.
Similarly for cachedir:
- Use
~/.cache/visualvmif it already exists or ifXDG_CACHE_HOMEenvironment variable is not defined, but if it is - use
$XDG_CACHE_HOME/visualvm.
0x6675636b796f75676974687562 approved these changes Oct 18, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment