xdgdirs

package module
v0.0.0-...-42db8d1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2016 License: BSD-3-Clause Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const (
	FILE_DIRS     = "user-dirs"
	SUFFIX_USER   = "dirs"
	SUFFIX_GLOBAL = "defaults"
)

Variables

This section is empty.

Functions

func IsXDGDir

func IsXDGDir(s string) bool

Types

type Dirs

type Dirs struct {
	// contains filtered or unexported fields
}

func (*Dirs) GetDir

func (x *Dirs) GetDir(name string) string

func (*Dirs) GetDirs

func (x *Dirs) GetDirs() map[string]string

func (*Dirs) Load

func (x *Dirs) Load(home string) *Dirs

func (*Dirs) ResolvePath

func (x *Dirs) ResolvePath(xdgPath string) string

Jump to

Keyboard shortcuts

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