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

Method Stream

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

Stream would stream the path via an instance of io.ReadCloser. Close must be called at the end to release resources appropriately.

(path string)

Source from the content-addressed store, hash-verified

103 // Stream would stream the path via an instance of io.ReadCloser. Close must be called at the
104 // end to release resources appropriately.
105 Stream(path string) (io.ReadCloser, error)
106}
107
108// NewUriHandler parses the requested URI and finds the corresponding UriHandler.

Callers 1

readerFromFunction · 0.65

Implementers 2

fileHandlerworker/backup_handler.go
s3Handlerworker/backup_handler.go

Calls

no outgoing calls

Tested by

no test coverage detected