Files
findutils/LICENSE
mcharsley 3198ff3b82 Initial dump of my code (#1)
* 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
2017-03-08 14:39:37 +00:00

19 lines
1.0 KiB
Plaintext

Copyright (c) Google Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.