Skip to main content

Module file_preview

Module file_preview 

Source
Expand description

File preview: reads the first N bytes/lines of a file for picker display.

Functionsยง

read_file_preview_lines
Read up to max_bytes bytes, returning up to max_lines lines.