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

Method open_files

src/lib.rs:946–948  ·  view source on GitHub ↗

Borrow the open files map (used by integration tests to inject file content without going through the LSP `didOpen` path).

(&self)

Source from the content-addressed store, hash-verified

944 /// Borrow the open files map (used by integration tests to inject
945 /// file content without going through the LSP `didOpen` path).
946 pub fn open_files(&self) -> &Arc<RwLock<HashMap<String, Arc<String>>>> {
947 &self.open_files
948 }
949
950 /// Borrow the PHPStan diagnostics cache (used by integration tests
951 /// to inject PHPStan diagnostics without running PHPStan).

Calls

no outgoing calls