pub fn open(source: &Source, progress: &Arc<Progress>) -> Result<Opened>Expand description
Opens source for reading.
ยงErrors
DimaError::Ioif the source cannot be opened or read (exit 3);DimaError::Usageif the path is a directory;DimaError::InputFormatfor unsupported compression or UTF-16/32 text.