Trait fix_getters_utils::crate_traverser::CrateTraverser [−][src]
pub trait CrateTraverser { fn handle_rust_file(
&mut self,
path: &Path,
output_path: &Option<PathBuf>
) -> Result<(), Error>; fn handle_skipped_dir_entry(
&mut self,
_entry: &DirEntry,
_output_path: &Option<PathBuf>
) -> Result<(), Error> { ... } fn traverse(
&mut self,
path: &Path,
output_path: &Option<PathBuf>
) -> Result<(), Error> { ... } }
Expand description
Crate traversal mechanism.
By default, the dir entries are traversed according to the rules defined
in rules::dir_entry
.
If output_path
is specified, the traversed tree is replicated there.
Required methods
Provided methods
fn handle_skipped_dir_entry(
&mut self,
_entry: &DirEntry,
_output_path: &Option<PathBuf>
) -> Result<(), Error>
[src]
&mut self,
_entry: &DirEntry,
_output_path: &Option<PathBuf>
) -> Result<(), Error>