skillstate

package
v1.0.58 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: Apache-2.0 Imports: 8 Imported by: 0 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

Overview

Package skillstate persists the official Skill snapshot and centralized ownership metadata written after setup and upgrade. Bundled skills are always fully refreshed from the current release and local absence is not an exclusion.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsLegacyOfficialSkillName

func IsLegacyOfficialSkillName(name string) bool

IsLegacyOfficialSkillName reports whether name was an exact official multi-skill directory name before centralized ownership metadata shipped.

func ManagedSkillNames

func ManagedSkillNames(state *State) map[string]bool

func Path

func Path(home string) string

func Remove

func Remove(home string) error

func Write

func Write(home string, state State) error

Types

type State

type State struct {
	Version        string                   `json:"version"`
	OfficialSkills []string                 `json:"official_skills"`
	UpdatedSkills  []string                 `json:"updated_skills"`
	ManagedSkills  []skillprovenance.Record `json:"managed_skills"`
	UpdatedAt      string                   `json:"updated_at"`
}

func Read

func Read(home string) (*State, bool, error)

Jump to

Keyboard shortcuts

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