file_browser#
Classes:
Representation of a file or directory in the file browser. |
|
Response information when using the instance file browser API. |
|
Configuration for allowed file browser prefixes and default directories. |
- class BrowseFile#
Representation of a file or directory in the file browser.
Attributes:
Absolute path of the parent directory.
Base name of file or directory.
- base_path: str#
Absolute path of the parent directory.
- errmesg: str | None#
- file_name: str#
Base name of file or directory.
- is_link: bool#
- link_path: str | None#
- mtime: float | None#
- path_abs: str#
- size: int | None#
- type: Literal['dir', 'file'] | None#
- class BrowseFileResponse#
Response information when using the instance file browser API.
Attributes:
- back_path: str#
- files: List[BrowseFile]#
- type: str#