MCPcopy
hub / github.com/dgraph-io/dgraph / s3Writer

Struct s3Writer

worker/backup_handler.go:329–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327}
328
329type s3Writer struct {
330 pwriter *io.PipeWriter
331 preader *io.PipeReader
332 bucketName string
333 cerr chan error
334}
335
336func (sw *s3Writer) Write(p []byte) (n int, err error) { return sw.pwriter.Write(p) }
337func (sw *s3Writer) Close() error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected