MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / getPath

Function getPath

drivers/webdav/util.go:47–52  ·  view source on GitHub ↗
(obj model.Obj)

Source from the content-addressed store, hash-verified

45}
46
47func getPath(obj model.Obj) string {
48 if obj.IsDir() {
49 return obj.GetPath() + "/"
50 }
51 return obj.GetPath()
52}

Callers 4

MoveMethod · 0.85
RenameMethod · 0.85
CopyMethod · 0.85
RemoveMethod · 0.85

Calls 2

IsDirMethod · 0.65
GetPathMethod · 0.65

Tested by

no test coverage detected