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

Method CreateDir

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

CreateDir creates a directory relative to the root path of the handler.

(path string)

Source from the content-addressed store, hash-verified

84type UriHandler interface {
85 // CreateDir creates a directory relative to the root path of the handler.
86 CreateDir(path string) error
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)

Callers 2

ProcessBackupRequestFunction · 0.95
createBackupFileFunction · 0.65

Implementers 2

fileHandlerworker/backup_handler.go
s3Handlerworker/backup_handler.go

Calls

no outgoing calls

Tested by

no test coverage detected