Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnsupportedFile = errors.New("unsupported file type") ErrFileTooLarge = errors.New("file too large") )
Sentinel errors for file browser operations.
Functions ¶
This section is empty.
Types ¶
type Browser ¶
type Browser struct {
// contains filtered or unexported fields
}
func (*Browser) ValidatePath ¶ added in v0.5.0
ValidatePath checks that the given path is under an allowed root directory.
type ListResult ¶
Click to show internal directories.
Click to hide internal directories.