Scanning a Folder
To scan an entire folder, usescanFolder. This walks the folder recursively using a thread pool and returns a list of JSON result strings — one per processed batch of files:
Scanning a Specific List of Files
To scan a subset of files rather than an entire folder, usescanFileList. Pass the root path of your project and a list of file paths relative to that root: