Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SamNet-dev/snix
/ loadConfig
Function
loadConfig
cmd/snix/root.go:56–62 ·
view source on GitHub ↗
(g *globalFlags)
Source
from the content-addressed store, hash-verified
54
}
55
56
func
loadConfig(g *globalFlags) (*config.Config, error) {
57
c, err := config.Load(g.configPath)
58
if
err != nil {
59
return
nil, fmt.Errorf(
"load config: %w"
, err)
60
}
61
return
c, nil
62
}
Callers
3
newStartCmd
Function · 0.85
newStatusCmd
Function · 0.85
newProfileCmd
Function · 0.85
Calls
1
Load
Function · 0.92
Tested by
no test coverage detected