Remove unused function and update docs
This commit is contained in:
2 files changed
+34
-12
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user