@@ -74,7 +74,7 @@ internal class ScanController(
7474 /* *
7575 * A map of [KnownProvenance]s to their resolved [NestedProvenance]s.
7676 */
77- private val nestedProvenances = mutableMapOf<KnownProvenance , NestedProvenance >()
77+ private val nestedProvenances = mutableMapOf<RemoteProvenance , NestedProvenance >()
7878
7979 /* *
8080 * A map of package [Identifier]s to their resolved [KnownProvenance]s. These provenances are used to filter the
@@ -86,7 +86,7 @@ internal class ScanController(
8686 * A map of package [Identifier]s to their resolved [KnownProvenance]s with the VCS path removed. These provenances
8787 * are used during scanning to make sure that always the full repositories are scanned.
8888 */
89- private val packageProvenancesWithoutVcsPath = mutableMapOf<Identifier , KnownProvenance >()
89+ private val packageProvenancesWithoutVcsPath = mutableMapOf<Identifier , RemoteProvenance >()
9090
9191 /* *
9292 * The [ScanResult]s for each [KnownProvenance] and [ScannerWrapper].
@@ -143,7 +143,7 @@ internal class ScanController(
143143 * Set the [nestedProvenance] corresponding to the given [package provenance][root], overwriting any existing
144144 * values.
145145 */
146- fun putNestedProvenance (root : KnownProvenance , nestedProvenance : NestedProvenance ) {
146+ fun putNestedProvenance (root : RemoteProvenance , nestedProvenance : NestedProvenance ) {
147147 nestedProvenances[root] = nestedProvenance
148148 }
149149
@@ -166,7 +166,7 @@ internal class ScanController(
166166 /* *
167167 * Return all [KnownProvenance]s contained in [nestedProvenances].
168168 */
169- fun getAllProvenances (): Set <KnownProvenance > =
169+ fun getAllProvenances (): Set <RemoteProvenance > =
170170 nestedProvenances.values.flatMapTo(mutableSetOf ()) { it.allProvenances }
171171
172172 /* *
@@ -178,7 +178,7 @@ internal class ScanController(
178178 /* *
179179 * Return all provenances including sub-repositories associated with the identifiers of the packages they belong to.
180180 */
181- fun getIdsByProvenance (): Map <KnownProvenance , Set <Identifier >> =
181+ fun getIdsByProvenance (): Map <RemoteProvenance , Set <Identifier >> =
182182 buildMap<_ , MutableSet <Identifier >> {
183183 getNestedProvenancesByPackage().forEach { (pkg, nestedProvenance) ->
184184 nestedProvenance.allProvenances.forEach { provenance ->
@@ -278,7 +278,7 @@ internal class ScanController(
278278 /* *
279279 * Return all [KnownProvenance]s for the [packages] with the VCS path removed.
280280 */
281- fun getPackageProvenancesWithoutVcsPath (): Set <KnownProvenance > = packageProvenancesWithoutVcsPath.values.toSet()
281+ fun getPackageProvenancesWithoutVcsPath (): Set <RemoteProvenance > = packageProvenancesWithoutVcsPath.values.toSet()
282282
283283 /* *
284284 * Return all [PackageScannerWrapper]s.
0 commit comments