paths

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpandPath

func ExpandPath(path string) (string, error)

func XDGCacheHome

func XDGCacheHome() string

func XDGConfigHome

func XDGConfigHome() string

func XDGDataHome

func XDGDataHome() string

func XDGStateHome

func XDGStateHome() string

Types

type App

type App struct{ Name string }

func New

func New(name string) App

func (App) CacheDir

func (a App) CacheDir() (string, error)

func (App) ConfigDir

func (a App) ConfigDir() (string, error)

func (App) DataDir

func (a App) DataDir() (string, error)

func (App) SocketDir

func (a App) SocketDir() string

func (App) SocketPath

func (a App) SocketPath() string

func (App) StateDir

func (a App) StateDir() (string, error)

Jump to

Keyboard shortcuts

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