Classes
Methods
isRunning() → {boolean}
True if a search is running.
Returns:
True if running
- Type
- boolean
isStopped() → {boolean}
True if last search was stopped by user.
Returns:
True if stopped.
- Type
- boolean
(async) search(dir, terms, optionsopt) → {Promise.<Array.<IVirtualFile>>}
Search files in directory and its subdirectories recursively for matching terms.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
dir |
IVirtualFile | The directory to start the search. | |
terms |
string | The terms to search for. | |
options |
SearchOptions |
<optional> |
The options |
Returns:
An array with all the results found.
- Type
- Promise.<Array.<IVirtualFile>>