pub fn read_path(path: &Path, stdin: impl Read) -> Result<String, CommandError>Expand description
The text of the file at path, or of standard input for -.
ยงErrors
CommandError::Argument for an unreadable file or standard input.
pub fn read_path(path: &Path, stdin: impl Read) -> Result<String, CommandError>The text of the file at path, or of standard input for -.
CommandError::Argument for an unreadable file or standard input.