You've already forked filebrowser
mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-11-26 14:25:26 +08:00
unexport and rework some more things
This commit is contained in:
@@ -24,7 +24,7 @@ type editor struct {
|
||||
}
|
||||
|
||||
// getEditor gets the editor based on a Info struct
|
||||
func (i *fileInfo) getEditor(r *http.Request) (*editor, error) {
|
||||
func getEditor(r *http.Request, i *fileInfo) (*editor, error) {
|
||||
var err error
|
||||
|
||||
// Create a new editor variable and set the mode
|
||||
|
||||
Reference in New Issue
Block a user