MCPcopy Index your code
hub / github.com/containerd/containerd / fakeWriter

Struct fakeWriter

core/content/helpers_test.go:207–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205type commitFunction func() error
206
207type fakeWriter struct {
208 *bytes.Buffer
209 committedDigest digest.Digest
210 status Status
211 commitFunc commitFunction
212}
213
214func (f *fakeWriter) Close() error {
215 f.Buffer.Reset()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected