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

@ -13,7 +13,7 @@ public class ApkPackageGraphNode {
@inlinable public var isShallow: Bool { self.parentIDs.isEmpty }
@inlinable public var isDeep: Bool { self.children.isEmpty }
internal init(_ graph: ApkPackageGraph, id: Int, children: [ChildRef]) {
internal init(id: Int, children: [ChildRef]) {
self.packageID = id
self.children = children
}