mirror of https://github.com/mvdan/fdroidcl.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
300 B
17 lines
300 B
// Copyright (c) 2015, Daniel Martí <mvdan@mvdan.cc> |
|
// See LICENSE for licensing information |
|
|
|
package basedir |
|
|
|
var ( |
|
cacheDir = firstGetenv("Library/Caches") |
|
dataDir = firstGetenv("Library/Application Support") |
|
) |
|
|
|
func cache() string { |
|
return cacheDir |
|
} |
|
|
|
func data() string { |
|
return dataDir |
|
}
|
|
|