Remove unused function and update docs

This commit is contained in:
Henrique Dias committed 2017-07-20 09:44:27 +01:00
1 parent 2cdd901f23
commit 58ae0e7f31
2 files changed
+34 -12

No files matched your search

-7
View File
@@ -372,13 +372,6 @@ func (u User) Allowed(url string) bool {
return true
}
// SetScope updates a user scope and its virtual file system.
// If the user string is blank, it will change the base scope.
func (u *User) SetScope(scope string) {
scope = strings.TrimSuffix(scope, "/")
u.FileSystem = webdav.Dir(scope)
}
// MatchString checks if this string matches the regular expression.
func (r *Regexp) MatchString(s string) bool {
if r.regexp == nil {