feature (webdav): shared links as webdav server

This commit is contained in:
Mickael KERJEAN
2019-01-21 18:10:14 +11:00
parent ec6eb0e8fa
commit c3d34e6f87
9 changed files with 334 additions and 155 deletions

View File

@ -87,10 +87,10 @@ func(this SafeMapStringString) Set(key string, value string) {
func(this SafeMapStringString) Gets(keys ...string) []string{
this.RLock()
defer this.RUnlock()
res := make([]string, len(keys))
for i, key := range keys {
res[i] = this.internal[key]
}
this.RUnlock()
return res
}