MCPcopy
hub / github.com/harness/harness / ByteToReadCloser

Function ByteToReadCloser

registry/app/remote/controller/proxy/controller.go:196–200  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

194}
195
196func ByteToReadCloser(b []byte) io.ReadCloser {
197 reader := bytes.NewReader(b)
198 readCloser := io.NopCloser(reader)
199 return readCloser
200}
201
202func (c *controller) ProxyManifest(
203 ctx context.Context,

Callers 2

CacheContentMethod · 0.85
pushMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…