MCPcopy Index your code
hub / github.com/dgraph-io/dgraph / CreateFile

Method CreateFile

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

CreateFile creates a file relative to the root path of the handler. It also makes the handler's descriptor to point to this file.

(path string)

Source from the content-addressed store, hash-verified

87 // CreateFile creates a file relative to the root path of the handler. It also makes the
88 // handler's descriptor to point to this file.
89 CreateFile(path string) (io.WriteCloser, error)
90 // DirExists returns true if the directory relative to the root path of the handler exists.
91 DirExists(path string) bool
92 // FileExists returns true if the file relative to the root path of the handler exists.

Callers 3

CreateManifestFunction · 0.65
CreateManifestSummaryFunction · 0.65
createBackupFileFunction · 0.65

Implementers 2

fileHandlerworker/backup_handler.go
s3Handlerworker/backup_handler.go

Calls

no outgoing calls

Tested by

no test coverage detected