Package com.artipie.rpm.asto
Class AstoMetadataRemove
java.lang.Object
com.artipie.rpm.asto.AstoMetadataRemove
Removes packages from metadata files.
- Since:
- 1.9
-
Constructor Summary
ConstructorDescriptionAstoMetadataRemove
(Storage asto, RepoConfig cnfg) Ctor.AstoMetadataRemove
(Storage asto, RepoConfig cnfg, Optional<Collection<PackageInfo>> infos) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionperform
(Collection<String> checksums) Removes packages from metadata xmls.
-
Constructor Details
-
AstoMetadataRemove
Ctor.- Parameters:
asto
- Abstract storagecnfg
- Repos configinfos
- Collection with removed packages info if required
-
AstoMetadataRemove
Ctor.- Parameters:
asto
- Abstract storagecnfg
- Repos config
-
-
Method Details
-
perform
Removes packages from metadata xmls. Resulting new xmls are stored into temp location along with checksums and size of un-gziped files. Temp location key as returned in result.- Parameters:
checksums
- Checksums of the packages to remove- Returns:
- Completable action with temp location key
-