public static searchText(notnull path as Path, notnull pattern as String, options as SearchOptions, notnull consumer as (SearchMatch) -> Boolean) as ULong
Streams results through Path's engine. False cancels all workers.
| Parameter | Description |
|---|---|
path | Search root. @param pattern Search pattern. |
options | Settings. @param consumer Serialized result callback. |
Delivered count. @throws IOException on read/decode failure.
Files.searchText(Path.cwd, "TODO", SearchOptions(), lambda(hit): false)