mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
Implement topologicalSort inside BuildSystemManager using dependency information
This commit is contained in:
@@ -159,10 +159,6 @@ extension CompilationDatabaseBuildSystem: BuiltInBuildSystem {
|
||||
|
||||
package func waitForUpToDateBuildGraph() async {}
|
||||
|
||||
package func topologicalSort(of targets: [BuildTargetIdentifier]) -> [BuildTargetIdentifier]? {
|
||||
return nil
|
||||
}
|
||||
|
||||
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