[−][src]Function nanogrep::run
pub fn run(config: Config) -> Result<(), Box<dyn Error>>
Runs the library logic.
Expects a reference to the Config
struct.
Errors
Returns error on the following situations:
file
doesn't exist.file
could not be read (unauthorized read permission).