Skip to main content

whole_file_lines

Function whole_file_lines 

Source
pub(super) fn whole_file_lines(
    filestore: &Arc<FileStore>,
    read_block: &str,
    cmd: &CommandBlockfileReadRangeData,
    started: Instant,
) -> Result<Option<Vec<String>>, String>
Expand description

The whole file from the store, when it has one worth reading, or the refusal to read a huge one. None falls back to the ring buffer.