Functionsยง
- handle
- Reads a file through the cache and applies the requested compression mode.
- handle_
fresh - Like
handle, but invalidates the cache first to force a fresh disk read. - handle_
fresh_ with_ task - Fresh read with task-aware filtering (invalidates cache first).
- handle_
fresh_ with_ task_ resolved - Fresh read with task-aware filtering, also returns the resolved mode name.
- handle_
with_ task - Reads a file with task-aware filtering to prioritize task-relevant content.
- handle_
with_ task_ resolved - Like
handle_with_task, also returns the resolved mode name. - read_
file_ lossy - Reads a file as UTF-8 with lossy fallback, enforcing the max read size limit.