Skip to main content

read_file_lines

Function read_file_lines 

Source
pub async fn read_file_lines(
    cwd: &Path,
    rev: &str,
    path: &str,
    ceiling_bytes: u64,
) -> Result<FileLines, FileReadRefusal>
Expand description

Read path’s content in rev, as its lines, up to ceiling_bytes.