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_bytesbytes, returning up tomax_lineslines.
File preview: reads the first N bytes/lines of a file for picker display.
max_bytes bytes, returning up to max_lines lines.