Function find_in_files

Source
pub fn find_in_files(
    lang: String,
    config: FindConfig,
    callback: JsFunction,
) -> Result<AsyncTask<IterateFiles<(ThreadsafeFunction<PinnedNodes, CalleeHandled>, RuleCore<NapiLang>)>>>
Expand description

Discover and parse multiple files in Rust. lang specifies the language. config specifies the file path and matcher. callback will receive matching nodes found in a file.