mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user