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
593 stars 51 forks source link

unix: Optionally create the opinionated log/ in `user_log_dir()` #208

Closed kemzeb closed 1 year ago

kemzeb commented 1 year ago

Resolves #207.

In user_log_dir(), we were using the result of user_state_dir() which would optionally create its directory path, but we weren't optionally creating the opinionated log/ directory.