dirs

package
v0.0.0-...-b346baa Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEmptyList = errors.New("empty directories list")
)

Functions

func AppendXDGDirs

func AppendXDGDirs() ([]string, error)

AppendXDGDirs returns slice of xdg standard dirs to be later checked for .dot files

func Walk

func Walk(dirs []string, useLang bool) ([]*desktop.Entry, error)

Walk through xdg directories and return slice of desktop entries from .dot files found in that directories.

Types

This section is empty.

Jump to

Keyboard shortcuts

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