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

Method Rename

worker/backup_handler.go:202–206  ·  view source on GitHub ↗
(src, dst string)

Source from the content-addressed store, hash-verified

200}
201
202func (h *fileHandler) Rename(src, dst string) error {
203 src = h.JoinPath(src)
204 dst = h.JoinPath(dst)
205 return os.Rename(src, dst)
206}
207
208// pathExist checks if a path (file or dir) is found at target.
209// Returns true if found, false otherwise.

Callers

nothing calls this directly

Calls 2

JoinPathMethod · 0.95
RenameMethod · 0.65

Tested by

no test coverage detected