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

Method Close

core/metadata/content.go:517–522  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

515}
516
517func (nw *namespacedWriter) Close() error {
518 if nw.w != nil {
519 return nw.w.Close()
520 }
521 return nil
522}
523
524func (nw *namespacedWriter) Write(p []byte) (int, error) {
525 // if no writer, first copy and unshare before performing write

Callers 1

CommitMethod · 0.95

Calls 1

CloseMethod · 0.65

Tested by

no test coverage detected