desktop

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2026 License: Apache-2.0 Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Locales embed.FS

Locales contains the translations contributed by the memory settings module.

Functions

func IsKindRegistered

func IsKindRegistered(kind string) bool

IsKindRegistered reports whether kind is currently registered.

func IsScopeRegistered

func IsScopeRegistered(scope string) bool

IsScopeRegistered reports whether scope is currently registered.

func Page

func Page() settings.NativePage

func Register

func Register(assembly *shell.Assembly)

func RegisterKind

func RegisterKind(kind string)

RegisterKind registers a memory kind for the desktop Memory settings UI. Registration is thread-safe and idempotent. Empty or whitespace-only names are ignored.

func RegisterScope

func RegisterScope(scope string)

RegisterScope registers a memory scope for the desktop Memory settings UI. Registration is thread-safe and idempotent. Empty or whitespace-only names are ignored.

func RegisteredKinds

func RegisteredKinds() []string

RegisteredKinds returns a copy of all registered memory kinds in registration order.

func RegisteredScopes

func RegisteredScopes() []string

RegisteredScopes returns a copy of all registered memory scopes in registration order.

Types

This section is empty.

Jump to

Keyboard shortcuts

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