home

package
v1.0.43 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package home calculates filesystem paths to Frisbee's configuration, cache and data.

Index

Constants

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

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

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

Variables

This section is empty.

Functions

func CacheChartsFile

func CacheChartsFile(name string) string

CacheChartsFile returns the path to a text file listing all the charts within the given named repository.

func CacheIndexFile

func CacheIndexFile(name string) string

CacheIndexFile returns the path to an index for the given named repository.

func CachePath

func CachePath(elem ...string) string

CachePath returns the path where Frisbee stores cached objects.

func ConfigPath

func ConfigPath(elem ...string) string

ConfigPath returns the path where Frisbee stores configuration.

func DataPath

func DataPath(elem ...string) string

DataPath returns the path where Frisbee 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