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

Method Read

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

Read reads the file at given relative path and returns the read bytes.

(path string)

Source from the content-addressed store, hash-verified

98 ListPaths(path string) []string
99 // Read reads the file at given relative path and returns the read bytes.
100 Read(path string) ([]byte, error)
101 // Rename renames the src file to the destination file.
102 Rename(src, dst string) error
103 // Stream would stream the path via an instance of io.ReadCloser. Close must be called at the

Callers 15

RunReadIndexLoopMethod · 0.65
ReadMethod · 0.65
BenchmarkWordsTrieFunction · 0.65
BenchmarkWordsMapFunction · 0.65
ProposalKeyFunction · 0.65
WriteMethod · 0.65
openMethod · 0.65
vaultGetKvStoreFunction · 0.65
readManifestFunction · 0.65
readMasterManifestFunction · 0.65

Implementers 2

fileHandlerworker/backup_handler.go
s3Handlerworker/backup_handler.go

Calls

no outgoing calls

Tested by 13

BenchmarkWordsTrieFunction · 0.52
BenchmarkWordsMapFunction · 0.52
TestLargePlistSplitFunction · 0.52
TestEntryReadWriteFunction · 0.52
TestLogRotateFunction · 0.52
TestLogGrowFunction · 0.52
TestStorageOnlySnapFunction · 0.52
TestStorageBigFunction · 0.52
decodeUint64MatrixFunction · 0.52
BenchmarkDotProductFunction · 0.52