Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
13
func
UnmarshalProgram(data []byte) (Program, error) {
14
var
r Program
15
err := yaml.Unmarshal(data, &r)
16
return
r, err
17
}
18
19
func
(r *Program) Marshal() ([]byte, error) {
20
return
yaml.Marshal(r)
Callers
1
installer
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected