🎇 webdav unfinished

This commit is contained in:
微凉
2021-11-28 00:12:04 +08:00
parent c39752ceb4
commit f9945a14a8
15 changed files with 6793 additions and 0 deletions

View File

@ -89,3 +89,9 @@ func ParsePath(path string) string {
return path
}
func RemoveLastSlash(path string) string {
if len(path) > 1 {
return strings.TrimSuffix(path, "/")
}
return path
}