mirror of
https://github.com/uutils/findutils.git
synced 2026-06-10 15:48:30 -07:00
a7a73c325d
* Add -follow support. * tests/find: Serialize find_time() find_time() relies on the working directory, but e.g. delete_on_dot_dir() will temporarily change directories, causing find_time() to fail when run in parallel. * find: Don't use uutils::error::set_exit_code() The global exit code can polute the results of other tests. Link: https://github.com/uutils/coreutils/issues/5777 * find: New WalkEntry wrapper The new type wraps DirEntry when possible, but also lets us pass a valid entry to matchers when walkdir returns a broken symlink error. It also implements a Metadata cache (part of #430). * find: Implement -H, -L, -P flags * find: Fix -follow -samefile * find: Fix -follow -newer * find: Implement -xtype * find: Fix -delete error handling --------- Co-authored-by: hanbings <hanbings@hanbings.io>