desktop

package
v0.0.0-...-4f60042 Latest Latest
Warning

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

Go to latest
Published: May 4, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

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

SPEC: https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s03.html

func ParseEntry

func ParseEntry(content string) (*File, error)

func (*File) Group

func (f *File) Group(s string) (group *group, found bool)

func (*File) Groups

func (f *File) Groups() []*group

func (*File) String

func (f *File) String() string

Jump to

Keyboard shortcuts

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