Function milligrep::run[][src]

pub fn run(config: Config) -> Result<(), Box<dyn Error>>
Expand description

Runs the library logic. Expects a reference to Config.

Errors

Returns error on the following situations:

  • file doesn’t exist.
  • file could not be read (unauthorized read permission).