Package org.ossreviewtoolkit.downloader
Class DownloaderKt
-
- All Implemented Interfaces:
public final class DownloaderKt
-
-
Method Summary
Modifier and Type Method Description final static Map<Package, List<Package>>consolidateProjectPackagesByVcs(Collection<Project> projects)Consolidate projects based on their VcsInfo without taking the path into account. -
-
Method Detail
-
consolidateProjectPackagesByVcs
final static Map<Package, List<Package>> consolidateProjectPackagesByVcs(Collection<Project> projects)
Consolidate projects based on their VcsInfo without taking the path into account. As VcsInfo is stored per project but many project definition files actually reside in different subdirectories of the same VCS working tree, it does not make sense to download (and scan) all of them individually, not even if doing sparse checkouts. Return a map that associates packages for projects in distinct VCS working trees with all other projects from the same VCS working tree.
-
-
-
-