gopass: Index | Files

package appdir

import ""

Package appdir implements a customized lookup pattern for application paths like config, cache and data dirs. On Linux this uses the XDG specification, on MacOS and Windows the platform defaults.


Package Files

appdir.go appdir_xdg.go

func UserCache Uses

func UserCache() string

UserCache returns the users cache dir

func UserConfig Uses

func UserConfig() string

UserConfig returns the users config dir

func UserData Uses

func UserData() string

UserData returns the users data dir

func UserHome Uses

func UserHome() string

UserHome returns the users home dir

Package appdir imports 3 packages (graph). Updated 2021-01-25. Refresh now. Tools for package owners.