You've already forked filebrowser
mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-11-26 14:25:26 +08:00
Export user
This commit is contained in:
2
file.go
2
file.go
@@ -38,7 +38,7 @@ type fileInfo struct {
|
||||
|
||||
// getInfo gets the file information and, in case of error, returns the
|
||||
// respective HTTP error code
|
||||
func getInfo(url *url.URL, c *FileManager, u *user) (*fileInfo, error) {
|
||||
func getInfo(url *url.URL, c *FileManager, u *User) (*fileInfo, error) {
|
||||
var err error
|
||||
|
||||
i := &fileInfo{URL: c.PrefixURL + url.Path}
|
||||
|
||||
Reference in New Issue
Block a user