Functionsยง
- create_
temp_ dir - Create a temporary directory with a given prefix
- get_
file_ extension - Get file extension as lowercase string
- get_
file_ size - Get file size in bytes
- guess_
mime_ from_ path - Guess MIME type from file extension
- is_
audio_ file - Check if a file is an audio file based on its extension
- is_
file_ size_ acceptable - Check if file size is within acceptable limits
- is_
image_ file - Check if a file is an image based on its extension
- is_
text_ file - Check if a file is a text file based on its extension
- is_
video_ file - Check if a file is a video file based on its extension
- read_
file - Read bytes from a file path
- remove_
file - Remove a file from the filesystem
- save_
temp_ file - Minimal file management helpers for multimodal flows.
- validate_
file - Validate that a file exists and is readable