appdir

package
v1.15.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2023 License: MIT Imports: 3 Imported by: 1

Documentation

Overview

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

Constants

This section is empty.

Variables

View Source
var Name = "gopass"

Name is used in the final path of the generated path.

Functions

func UserCache

func UserCache() string

UserCache returns the users cache dir.

func UserConfig

func UserConfig() string

UserConfig returns the users config dir.

func UserData

func UserData() string

UserData returns the users data dir.

func UserHome

func UserHome() string

UserHome returns the users home dir.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL