hlnpath

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CacheHomeEnvVar is the environment variable used by Hln
	// for the cache directory. When no value is set a default is used.
	CacheHomeEnvVar = "HLN_CACHE_HOME"

	// ConfigHomeEnvVar is the environment variable used by Hln
	// for the config directory. When no value is set a default is used.
	ConfigHomeEnvVar = "HLN_CONFIG_HOME"

	// DataHomeEnvVar is the environment variable used by Hln
	// for the data directory. When no value is set a default is used.
	DataHomeEnvVar = "HLN_DATA_HOME"
)

Variables

This section is empty.

Functions

func CachePath

func CachePath(elem ...string) string

CachePath returns the path where Hln stores cached objects.

func ConfigPath

func ConfigPath(elem ...string) string

ConfigPath returns the path where Hln stores configuration.

func DataPath

func DataPath(elem ...string) string

DataPath returns the path where Hln stores data.

Types

This section is empty.

Directories

Path Synopsis
Package xdg holds constants pertaining to XDG Base Directory Specification.
Package xdg holds constants pertaining to XDG Base Directory Specification.

Jump to

Keyboard shortcuts

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