MCPcopy Create free account
hub / github.com/catppuccin/cli / UnmarshalProgram

Function UnmarshalProgram

internal/pkg/structs/program.go:13–17  ·  view source on GitHub ↗
(data []byte)

Source from the content-addressed store, hash-verified

11)
12
13func UnmarshalProgram(data []byte) (Program, error) {
14 var r Program
15 err := yaml.Unmarshal(data, &r)
16 return r, err
17}
18
19func (r *Program) Marshal() ([]byte, error) {
20 return yaml.Marshal(r)

Callers 1

installerFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected