Class PackagesDiff

java.lang.Object
com.artipie.rpm.misc.PackagesDiff

public final class PackagesDiff extends Object
Differences of packages, listed in primary and packages in the repository.
Since:
1.10
  • Constructor Details

  • Method Details

    • toDelete

      public Map<String,String> toDelete()
      Packages that should be removed from the repo.
      Returns:
      Package name <-> checksum
    • toAdd

      public Collection<String> 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