Update StateDir comment to mention XDG_STATE_HOME.

This commit is contained in:
Josef Šimánek 2021-12-16 20:07:33 +01:00 committed by GitHub
parent 0d3dd7e758
commit f2848fcdda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,7 +49,7 @@ func ConfigDir() string {
}
// State path precedence
// 1. XDG_CONFIG_HOME
// 1. XDG_STATE_HOME
// 2. LocalAppData (windows only)
// 3. HOME
func StateDir() string {