MCPcopy
hub / github.com/redspread/spread / base

Method base

pkg/input/dir/input.go:62–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60}
61
62func (d *FileInput) base() (entity.Entity, error) {
63 objects, err := d.Objects()
64 if err != nil {
65 return nil, err
66 }
67
68 // create app
69 return entity.NewApp(nil, kube.ObjectMeta{}, string(d.FileSource), objects...)
70}

Callers 1

BuildMethod · 0.95

Calls 1

ObjectsMethod · 0.65

Tested by

no test coverage detected