Package com.artipie.rpm.misc
Class PackagesDiff
java.lang.Object
com.artipie.rpm.misc.PackagesDiff
Differences of packages, listed in primary and packages in the repository.
- Since:
- 1.10
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
PackagesDiff
Ctor.- Parameters:
first
- First mapsecond
- Second map
-
-
Method Details
-
toDelete
Packages that should be removed from the repo.- Returns:
- Package name <-> checksum
-
toAdd
Return packages, that should be added/updated in the repository. These packages are:
1) packages, that are present in repo and not present in primary
2) packages, that are present both in repo and primary, but have different checksums- Returns:
- Collection with packages names
-