xdg

package
v0.0.0-...-7743022 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package xdg is a minimal implementation of the XDG specification.

https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheDir

func CacheDir(env map[string]string, programName string) string

CacheDir returns the cache directory for the application

func ConfigDir

func ConfigDir(env map[string]string, programName string) string

ConfigDir returns the config folder for the application

The XDG_CONFIG_DIRS case is not being handled

func DataDir

func DataDir(env map[string]string, programName string) string

DataDir returns the data folder for the application

Types

This section is empty.

Jump to

Keyboard shortcuts

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