gopass: github.com/justwatchcom/gopass/pkg/appdir Index | Files

package appdir

import "github.com/justwatchcom/gopass/pkg/appdir"

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.

Index

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 2020-09-23. Refresh now. Tools for package owners.