Repository navigation
Say where appconfig and the hash store keep their files - #238
Merged
Merged
Conversation
The appconfig docstring gave ~/.config/gleapp for every platform other than Windows and said it held window state, which nothing stores. config_dir() uses ~/Library/Application Support/GLEAPP on macOS and $XDG_CONFIG_HOME/GLEAPP (default ~/.config/GLEAPP) on Linux, and data_dir(), which the docstring did not mention, uses %LOCALAPPDATA%\GLEAPP on Windows. The hashstore docstring put the store under config_dir(). store_path() uses data_dir(), so on Windows the store is under %LOCALAPPDATA%, not %APPDATA%. Docstrings only. The rest of both modules is identical to main by AST. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two module docstrings named per-user folders the code does not use. Prose only, no behavior change.
gleapp/appconfig.py: said~/.config/gleappeverywhere but Windows.config_dir()uses~/Library/Application Support/GLEAPPon macOS and$XDG_CONFIG_HOME/GLEAPP(default~/.config/GLEAPP) on Linux. Now also says whatdata_dir()holds and that it is%LOCALAPPDATA%\GLEAPPon Windows, and drops "window state", which nothing stores.gleapp/hashstore.py: said the store lives underconfig_dir().store_path()usesdata_dir(), so on Windows it is%LOCALAPPDATA%, not%APPDATA%.Checked by calling both functions for each platform under a scratch home. An AST comparison shows everything outside the two docstrings unchanged. The manual, in-app help and README already match.
🤖 Generated with Claude Code