Skip to main content

read_input_file

Function read_input_file 

Source
pub fn read_input_file(path: &str) -> Result<String, String>
Expand description

Read a CLI input file with the size cap enforced during buffering (no TOCTOU window: at most one byte over the cap is ever read).