MCPcopy
hub / github.com/kopia/kopia / NewObjectWriter

Method NewObjectWriter

repo/repository.go:191–193  ·  view source on GitHub ↗

NewObjectWriter creates an object writer.

(ctx context.Context, opt object.WriterOptions)

Source from the content-addressed store, hash-verified

189
190// NewObjectWriter creates an object writer.
191func (r *directRepository) NewObjectWriter(ctx context.Context, opt object.WriterOptions) object.Writer {
192 return r.omgr.NewWriter(ctx, opt)
193}
194
195// ConcatenateOptions describes options for concatenating objects.
196type ConcatenateOptions struct {

Callers

nothing calls this directly

Calls 1

NewWriterMethod · 0.65

Tested by

no test coverage detected