Can now change graph into a struct

This commit is contained in:
2025-07-11 20:50:12 +10:00
parent 1ba8e14ef4
commit b265f4b846
3 changed files with 5 additions and 5 deletions

View File

@ -21,7 +21,7 @@ struct DpkGraphCommand: AsyncParsableCommand {
timerStart = DispatchTime.now()
let providerCache = ApkIndexProviderCache(index: pkgIndex)
let graph = ApkPackageGraph()
var graph = ApkPackageGraph()
graph.buildGraphNode(index: pkgIndex, providers: providerCache)
print("Graph build took \(timerStart.distance(to: .now()).seconds) seconds")