public static final class MultiRepodata.Unique extends Object implements MultiRepodata
MultiRepodata that merges Repodata.json indexes checking for
duplicates and writes unique `packages` and `packages.conda` to the output stream.
Duplicates are checked by filename, first met package is written into resulting repodata,
other packages with the same filename are skipped.
Implementation does not close input or output streams, these operations should be made from
the outside.MultiRepodata.Unique| Constructor and Description |
|---|
Unique() |
| Modifier and Type | Method and Description |
|---|---|
void |
merge(Collection<InputStream> inputs,
OutputStream result)
Merges repodata.jsons into single repodata.json.
|
public void merge(Collection<InputStream> inputs, OutputStream result)
MultiRepodatamerge in interface MultiRepodatainputs - Collections of repodata.json to mergeresult - Where to write the resultCopyright © 2021 jcabi.com. All rights reserved.