diff options
author | Andrew Gallant <jamslam@gmail.com> | 2018-08-25 21:08:42 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2018-08-26 18:42:25 -0400 |
commit | f9ce7a84a8ce1be033099ee4785815bc5f269223 (patch) | |
tree | 9197345c31f06b2f1757c758b307b2f7372b7708 /src/args.rs | |
parent | 1b6089674e38aa0fde9810b4d25d79119f1c2400 (diff) |
ignore: add 'same_file_system' option
This commit adds a 'same_file_system' option to the walk builder. For
single threaded walking, it defers to the walkdir crate, which has the
same option. The bulk of this commit implements this flag for the parallel
walker. We add one very feeble test for this.
The parallel walker is now officially a complete mess.
Closes #321
Diffstat (limited to 'src/args.rs')
-rw-r--r-- | src/args.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/args.rs b/src/args.rs index 2343102e..6e79cb0a 100644 --- a/src/args.rs +++ b/src/args.rs @@ -663,6 +663,7 @@ impl ArgMatches { .follow_links(self.is_present("follow")) .max_filesize(self.max_file_size()?) .threads(self.threads()?) + .same_file_system(self.is_present("one-file-system")) .overrides(self.overrides()?) .types(self.types()?) .hidden(!self.hidden()) |