Remove registerForChangeNotifications

This was only really used for the legacy BSP integration, which we are phasing out in favor of the new `SourceKitOptions` request.
This commit is contained in:
Alex Hoppen
2024-08-24 13:33:28 -07:00
parent 236f566977
commit 7e3f453a7c
7 changed files with 57 additions and 90 deletions

View File

@@ -149,11 +149,6 @@ extension CompilationDatabaseBuildSystem: BuiltInBuildSystem {
return nil
}
package func registerForChangeNotifications(for uri: DocumentURI) {}
/// We don't support change watching.
package func unregisterForChangeNotifications(for uri: DocumentURI) {}
private func database(for uri: DocumentURI) -> CompilationDatabase? {
if let url = uri.fileURL, let path = try? AbsolutePath(validating: url.path) {
return database(for: path)