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

Add site_state_dir() counterpart for user_state_dir() #214

Open
PhrozenByte opened this issue Jul 30, 2023 · 1 comment
Open

Add site_state_dir() counterpart for user_state_dir() #214

PhrozenByte opened this issue Jul 30, 2023 · 1 comment

Comments

@PhrozenByte
Copy link

The user_state_dir() method currently lacks a site_state_dir() counterpart.

Some suggestions:

  • Unix: /var/local/$appname:/var/lib/$appname multipath?
  • Android: user_state_dir() (as with any other site_*_dir() counterpart)?
  • Windows: site_data_dir() with an opinionated State subdirectory?
  • Mac OS: site_data_dir()?

This is a prerequisite for #213

@wfjt
Copy link

wfjt commented Oct 26, 2023

And logs don't belong in cache, they belong in XDG_STATE_HOME as per specification. Annoying to patch it every time I use this lib.

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

2 participants