P2help wanted
倉庫指標
- Star
- (13,906 star)
- PR 合併指標
- (平均合併 4天 2小時) (30 天內合併 28 個 PR)
描述
See: http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
Basically:
configuration should be searched in:
- XDG_CONFIG_HOME/go-ipgs/config
- XDG_CONFIG_DIRS/go-ipgs/config
Some rules :
- XDG_CONFIG_HOME defaults to HOME/.config when not set
- XDG_CONFIG_DIRS defaults to /etc/xdg when not set
The same logic applies to persistent data files (the one we want to keep) and cached data files (the one we may delete at any moment)