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

Function NewBytesSource

pkg/files/sources.go:30–30  ·  view source on GitHub ↗
(path string, data []byte)

Source from the content-addressed store, hash-verified

28}
29
30func NewBytesSource(path string, data []byte) BytesSource { return BytesSource{path, data} }
31
32func (s BytesSource) Description() string { return s.path }
33func (s BytesSource) RelativePath() (string, error) { return s.path, nil }

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…