statekeys

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package statekeys owns profile partitions in the window-manager state domain.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EmptyDesktops

func EmptyDesktops(profile string) string

EmptyDesktops marks a profile's aggregate as already cleared of the New Tabs that releases up to v0.7.4 seeded into empty desktops (#1799). Remove it with that retirement in v0.9.0.

func IsSupersededLegacy

func IsSupersededLegacy(key string) bool

IsSupersededLegacy distinguishes raw backup bytes from their disposition records.

func Legacy

func Legacy(profile string) string

Legacy identifies the exact pre-upgrade bytes preserved for a profile.

func Migration

func Migration(profile string) string

Migration identifies the current upgrade's status for a profile.

func Profile

func Profile(key string) (string, bool)

Profile identifies every key that belongs to a window-manager profile partition.

func Snapshot

func Snapshot(profile string) string

Snapshot identifies the current stored layout for a profile.

func SupersededLegacy

func SupersededLegacy(profile string, value []byte) string

SupersededLegacy retains an earlier backup without replacing distinct bytes.

func SupersededLegacyDisposition

func SupersededLegacyDisposition(key string) string

SupersededLegacyDisposition identifies the lifecycle record of a raw backup key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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