tox-dev / platformdirs

A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir".
https://platformdirs.readthedocs.io
MIT License
568 stars 49 forks source link

Add `site_state_dir()` counterpart for `user_state_dir()` #214

Open PhrozenByte opened 1 year ago

PhrozenByte commented 1 year ago

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

Some suggestions:

This is a prerequisite for #213

wfjt commented 11 months ago

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.