Skip to main content

read_diff_file

Function read_diff_file 

Source
pub fn read_diff_file(path: &Path, label: &str) -> Result<String, DiffStandDown>
Expand description

Read a diff file as UTF-8 text, within MAX_DIFF_BYTES.

ยงErrors

Returns the unreadable, oversize or not-utf8 stand-down.