Module fs

Source
Expand description

File System Filters

Structsยง

ArcPath ๐Ÿ”’
BadRange ๐Ÿ”’
Conditionals ๐Ÿ”’
File
A file response.
FileOpenError ๐Ÿ”’
FilePermissionError ๐Ÿ”’

Enumsยง

Cond ๐Ÿ”’

Constantsยง

DEFAULT_READ_BUF_SIZE ๐Ÿ”’

Functionsยง

bytes_range ๐Ÿ”’
conditionals ๐Ÿ”’
dir
Creates a Filter that serves a directory at the base path joined by the request path.
file
Creates a Filter that serves a File at the path.
file_conditional ๐Ÿ”’
file_metadata ๐Ÿ”’
file_reply ๐Ÿ”’
file_stream ๐Ÿ”’
get_block_size ๐Ÿ”’
optimal_buf_size ๐Ÿ”’
path_from_tail ๐Ÿ”’
reserve_at_least ๐Ÿ”’
sanitize_path ๐Ÿ”’