MCPcopy
hub / github.com/carvel-dev/ytt / LocalSource

Struct LocalSource

pkg/files/sources.go:51–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49func (s StdinSource) Bytes() ([]byte, error) { return s.bytes, s.err }
50
51type LocalSource struct {
52 path string
53 dir string
54}
55
56func NewLocalSource(path, dir string) LocalSource { return LocalSource{path, dir} }
57

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected