1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2024-12-12 19:18:24 +02:00
ripgrep/crates/ignore/src
Richard Khoury a28e664abd ignore: check ignore rules before issuing stat calls
This seems like an obvious optimization but becomes critical when
filesystem operations even as simple as stat can result in significant
overheads; an example of this was a bespoke filesystem layer in Windows
that hosted files remotely and would download them on-demand when
particular filesystem operations occurred. Users of this system who
ensured correct file-type fileters were being used could still get
unnecessary file access resulting in large downloads.

Fixes #1657, Closes #1660
2021-05-31 21:51:18 -04:00
..
default_types.rs ignore/types: add red 2021-05-31 21:51:18 -04:00
dir.rs ignore: fix failing test 2020-03-16 19:16:24 -04:00
gitignore.rs repo: move all source code in crates directory 2020-02-17 19:24:53 -05:00
lib.rs ignore: provide underlying IO Error 2020-11-23 10:19:31 -05:00
overrides.rs repo: move all source code in crates directory 2020-02-17 19:24:53 -05:00
pathutil.rs repo: move all source code in crates directory 2020-02-17 19:24:53 -05:00
types.rs doc: fix typos 2020-06-04 09:06:09 -04:00
walk.rs ignore: check ignore rules before issuing stat calls 2021-05-31 21:51:18 -04:00