Function difft::files::read_file_arg
source · [−]fn read_file_arg(file_arg: &FileArgument) -> Result<Vec<u8>>
Expand description
Read a path provided in a CLI argument, handling /dev/null and - correctly.
fn read_file_arg(file_arg: &FileArgument) -> Result<Vec<u8>>
Read a path provided in a CLI argument, handling /dev/null and - correctly.