basedir

package
v0.0.0-...-a0d3116 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2019 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package basedir provides access to XDG base directory spec. For more information, please see the spec: https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

Index

Constants

This section is empty.

Variables

View Source
var (
	// Home is the user's home directory.
	Home string

	// DataHome is the path to the directory where user data files
	// should be written.
	DataHome string

	// ConfigHome is the path to the directory where user
	// configuration files should be written.
	ConfigHome string

	// CacheHome is the path to the directory where non-essential
	// (cached) data should be written.
	CacheHome string

	// RuntimeDir is the path to the directory where runtime files
	// should be placed.
	RuntimeDir string

	// DataDirs is a slice of paths that should be searched for data
	// files.
	DataDirs []string

	// ConfigDirs is a slice of paths that should be searched for
	// configuration files.
	ConfigDirs []string
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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