MCPcopy Create free account
hub / github.com/PHPantom-dev/phpantom_lsp / schedule_mago_analyze

Method schedule_mago_analyze

src/diagnostics/mod.rs:1570–1573  ·  view source on GitHub ↗

Schedule a Mago analyze run for a single file. Only the most recent file is kept: if the user switches files or types rapidly, earlier requests are superseded.

(&self, uri: String)

Source from the content-addressed store, hash-verified

1568 /// Only the most recent file is kept: if the user switches files or
1569 /// types rapidly, earlier requests are superseded.
1570 fn schedule_mago_analyze(&self, uri: String) {
1571 *self.mago_analyze_pending_uri.lock() = Some(uri);
1572 self.mago_analyze_notify.notify_one();
1573 }
1574
1575 /// Long-lived background task that runs `mago analyze` on pending files.
1576 ///

Callers 1

schedule_diagnosticsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected