Function rena::run

source ·
pub fn run(args: Arguments) -> Result<()>
Expand description

Runs rena with the given arguments.

Errors

Returns an error in the following circumstances:

  • The target doesn’t exist
  • The target is not a directory
  • We can’t read the directory’s contents

Panics

We currently verify that the result of [read_dir()] is not Err before unwrapping it, so this shouldn’t ever panic.