Enqueue a single file for scanning (e.g. after a save).
This method is safe to call from the UI thread. It will start the background thread if not already running and dispatch the file scanning work to the background thread.
| file |
The File object that was modified. |
| project |
The Folder object that contains this file (is_project = true), or null if no active project. |