Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
47
func
getPath(obj model.Obj) string {
48
if
obj.IsDir() {
49
return
obj.GetPath() +
"/"
50
}
51
return
obj.GetPath()
52
}
Callers
4
Move
Method · 0.85
Rename
Method · 0.85
Copy
Method · 0.85
Remove
Method · 0.85
Calls
2
IsDir
Method · 0.65
GetPath
Method · 0.65
Tested by
no test coverage detected