xdg

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2020 License: MIT Imports: 3 Imported by: 1

README

go-xdg

GoDoc

Package xdg implements the XDG Base Directory Specification.

Documentation

Overview

Package xdg implements the XDG Base Directory Specification.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheHome

func CacheHome() string

CacheHome defines the base directory relative to which user-specific non-essential data files should be stored.

func ConfigDirs

func ConfigDirs() []string

ConfigDirs defines the preference-ordered set of base directories to search for configuration files in addition to the ConfigHome base directory.

func ConfigHome

func ConfigHome() string

ConfigHome defines the base directory relative to which user-specific configuration files should be stored.

func DataDirs

func DataDirs() []string

DataDirs defines the preference-ordered set of base directories to search for data files in addition to the DataHome base directory.

func DataHome

func DataHome() string

DataHome defines the base directory relative to which user-specific data files should be stored.

func RuntimeDir

func RuntimeDir() (string, bool)

RuntimeDir defines the base directory relative to which user-specific non-essential runtime files and other file objects should be stored.

Types

This section is empty.

Jump to

Keyboard shortcuts

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