mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-05-19 09:40:22 -07:00
Fix minor grammar issues in docs for ignore::Walk
This commit is contained in:
parent
dd3df0ded7
commit
c8a5a7a3f4
@ -380,16 +380,16 @@ impl DirEntryRaw {
|
|||||||
/// is: `.ignore`, `.gitignore`, `.git/info/exclude`, global gitignore and
|
/// is: `.ignore`, `.gitignore`, `.git/info/exclude`, global gitignore and
|
||||||
/// finally explicitly added ignore files. Note that precedence between
|
/// finally explicitly added ignore files. Note that precedence between
|
||||||
/// different types of ignore files is not impacted by the directory hierarchy;
|
/// different types of ignore files is not impacted by the directory hierarchy;
|
||||||
/// any `.ignore` file overrides all `.gitignore` files. Within each
|
/// any `.ignore` file overrides all `.gitignore` files. Within each precedence
|
||||||
/// precedence level, more nested ignore files have a higher precedence over
|
/// level, more nested ignore files have a higher precedence than less nested
|
||||||
/// less nested ignore files.
|
/// ignore files.
|
||||||
/// * Third, if the previous step yields an ignore match, than all matching
|
/// * Third, if the previous step yields an ignore match, then all matching
|
||||||
/// is stopped and the path is skipped.. If it yields a whitelist match, then
|
/// is stopped and the path is skipped. If it yields a whitelist match, then
|
||||||
/// process continues. A whitelist match can be overridden by a later matcher.
|
/// matching continues. A whitelist match can be overridden by a later matcher.
|
||||||
/// * Fourth, unless the path is a directory, the file type matcher is run on
|
/// * Fourth, unless the path is a directory, the file type matcher is run on
|
||||||
/// the path. As above, if it's an ignore match, then all matching is stopped
|
/// the path. As above, if it yields an ignore match, then all matching is
|
||||||
/// and the path is skipped. If it's a whitelist match, then matching
|
/// stopped and the path is skipped. If it yields a whitelist match, then
|
||||||
/// continues.
|
/// matching continues.
|
||||||
/// * Fifth, if the path hasn't been whitelisted and it is hidden, then the
|
/// * Fifth, if the path hasn't been whitelisted and it is hidden, then the
|
||||||
/// path is skipped.
|
/// path is skipped.
|
||||||
/// * Sixth, unless the path is a directory, the size of the file is compared
|
/// * Sixth, unless the path is a directory, the size of the file is compared
|
||||||
|
Loading…
x
Reference in New Issue
Block a user