MCPcopy Create free account
hub / github.com/cloudfoundry/multiapps-cli-plugin / namedBytesReader

Struct namedBytesReader

commands/file_uploader.go:67–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67type namedBytesReader struct {
68 r *bytes.Reader
69 fileName string
70}
71
72func (n *namedBytesReader) Read(p []byte) (int, error) {
73 return n.r.Read(p)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected