You've already forked filebrowser
mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-11-26 14:25:26 +08:00
Remove unused function and update docs
Former-commit-id: d7647f50647ee98107067ed6a17efc5e5ddd491a [formerly 0743e585ce077ea04dad4a21a2c6988fd2c0c2be] [formerly 3a7305c7a9c7d3e61895e49a0fb9db54a83ac9f5 [formerly 58ae0e7f31]]
Former-commit-id: e3ca983a2e072a4c9c1b93d5b087b4e9636fd7cf [formerly 83ff193587ab7ae0381c1d27fa5939fe118dc1a6]
Former-commit-id: 4f59b1c555df293ddd3bed3dee5b4c4aab7e532f
This commit is contained in:
@@ -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