-
mcharsley authored
* Initial checkin. Supports -name, -name -print and a subset of -type Has unit tests, but no system tests * Corrected usage text * Added ability to replace stdout with a fake. Moved and_matcher to logical_matchers * Significant refactoring to allow tests for the arg-parsing code * Added tests for the argument parsing code. * Added support for or operator * Added change missing form last commit * Added AUTHORS and (MIT) LICENSE * Added support for lists (i.e. the comma operand) * Added support for parentheses * Cleaned up names of some Or/And/List matcher methods * Added support for depth-first searching * Added initial support for max_depth, min_depth and depth arguments. * Cleaned up a surfeit of Box::new's and change the [Or|And|List]Matchers to use builders, so submatchers can't be added later on. * Added support for -a * Added support for prune * Added prune * Refactored the way we fake stdoutput. Will allowing for easy expansion for stderr, clocks etc. * Renamed side effects to matcherio * Removed leftover tracing println call * Tidied up use statements * Switched to using walkdir * Added support for -newer * renamed new_sideeffetcs to new_matcher_io * Implemented ctime, atime and mtime * merged name_matcher and caseless_name_matcher into one module * Added support for -size * Minor tweaks based on code review * Switched Config struct to implement Default * Replaced try! with ? * Added copyright headers
3198ff3b
This project is licensed under the MIT License.
Learn more