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

Method ListPaths

worker/backup_handler.go:169–174  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

167 return os.Open(h.JoinPath(path))
168}
169func (h *fileHandler) ListPaths(path string) []string {
170 path = h.JoinPath(path)
171 return x.WalkPathFunc(path, func(path string, isDis bool) bool {
172 return true
173 })
174}
175func (h *fileHandler) CreateDir(path string) error {
176 path = h.JoinPath(path)
177 if err := os.MkdirAll(path, 0755); err != nil {

Callers

nothing calls this directly

Calls 2

JoinPathMethod · 0.95
WalkPathFuncFunction · 0.92

Tested by

no test coverage detected