Class: FileSearcher

FileSearcher()

Class searches for files in a SalmonDrive by filename.

Constructor

new FileSearcher()

Source:

Classes

FileSearcher

Methods

isRunning() → {boolean}

True if a search is running.
Source:
Returns:
True if running
Type
boolean

isStopped() → {boolean}

True if last search was stopped by user.
Source:
Returns:
True if stopped.
Type
boolean
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
Source:
Returns:
An array with all the results found.
Type
Promise.<Array.<IVirtualFile>>