(b []byte)
| 214 | } |
| 215 | |
| 216 | func 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 | |
| 227 | func (c *Config) LoadRecursive(lockfile *lock.File) error { |
| 228 | return c.loadRecursive(lockfile, map[string]bool{}, "" /*cyclePath*/) |
no test coverage detected