Trait unwalk_base::Action
[−]
[src]
pub trait Action { fn execute<P>(path: P) -> ActionResult
where
P: AsRef<Path>; fn default_extensions() -> &'static [&'static str]; }
Trait for action on matching files.
Required Methods
fn execute<P>(path: P) -> ActionResult where
P: AsRef<Path>,
P: AsRef<Path>,
Perform action on given matching file.
fn default_extensions() -> &'static [&'static str]
Default file name extension(s) to match to perform the action.