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

Struct fileHandler

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

fileHandler is used for 'file:' URI scheme.

Source from the content-addressed store, hash-verified

146
147// fileHandler is used for 'file:' URI scheme.
148type fileHandler struct {
149 rootDir string
150 prefix string
151}
152
153func NewFileHandler(uri *url.URL) *fileHandler {
154 h := &fileHandler{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected