Function mdcat::read_input
source · pub fn read_input<T: AsRef<str>>(filename: T) -> Result<(PathBuf, String)>
Expand description
Read input for filename
.
If filename
is -
read from standard input, otherwise try to open and
read the given file.