MCPcopy
hub / github.com/containerd/containerd / namespacedWriter

Struct namespacedWriter

core/metadata/content.go:499–515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

497}
498
499type namespacedWriter struct {
500 ctx context.Context
501 ref string
502 namespace string
503 db *DB
504 provider interface {
505 content.Provider
506 content.Ingester
507 }
508 l *sync.RWMutex
509
510 w content.Writer
511
512 bref string
513 started time.Time
514 desc ocispec.Descriptor
515}
516
517func (nw *namespacedWriter) Close() error {
518 if nw.w != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected