appinfo

package
v0.0.0-...-520a03a Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigFile

func ConfigFile(name string) (*glib.KeyFile, error)

ConfigFile open the given keyfile, this file will be created if not existed.

func ConfigFilePath

func ConfigFilePath(name string) string

ConfigFilePath returns path in user's config dir.

func GetFrequency

func GetFrequency(id string, f *glib.KeyFile) uint64

func GetFrequencyRecordFile

func GetFrequencyRecordFile() (*glib.KeyFile, error)

GetFrequencyRecordFile returns the file which records items' use frequency.

func NormalizeAppID

func NormalizeAppID(candidateID string) string

func NormalizeAppIDWithCaseSensitive

func NormalizeAppIDWithCaseSensitive(candidateID string) string

func SetFrequency

func SetFrequency(id string, freq uint64, f *glib.KeyFile)

Types

This section is empty.

Jump to

Keyboard shortcuts

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