MCPcopy Index your code
hub / github.com/jetify-com/devbox / loadBytes

Function loadBytes

internal/devconfig/config.go:216–225  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

214}
215
216func loadBytes(b []byte) (*Config, error) {
217 root, err := configfile.LoadBytes(b)
218 if err != nil {
219 return nil, err
220 }
221
222 return &Config{
223 Root: *root,
224 }, nil
225}
226
227func (c *Config) LoadRecursive(lockfile *lock.File) error {
228 return c.loadRecursive(lockfile, map[string]bool{}, "" /*cyclePath*/)

Callers 3

DefaultConfigFunction · 0.85
readFromFileFunction · 0.85
LoadConfigFromURLFunction · 0.85

Calls 1

LoadBytesFunction · 0.92

Tested by

no test coverage detected