Expand description
Shared file-selection traversal.
The predicate vocabulary every tool uses to choose which entries to act on
— search root, name, kind, size, and whether to descend dot-entries or follow
symlinks — lives here so it is identical across the suite: what you learn
about targeting from ct-search transfers verbatim to ct-edit. A
Selector holds the resolved predicates; Selector::walk yields the
entries that pass them, leaving content-level work (grep, replace) to the
caller.
Structs§
Enums§
Functions§
- parse_
size - Parse a
--sizespec[+|-]N[k|m|g|b]into aSizeCmp. - size_
matches - Whether a byte length satisfies a
SizeCmp.