Index V2Diff Stream Receiver
interface IndexV2DiffStreamReceiver
Functions
Link copied to clipboard
Called when the stream has been processed to its end.
Link copied to clipboard
abstract fun receivePackageMetadataDiff(packageName: String, packageJsonObject: ERROR CLASS: Symbol not found for JsonObject??)
Receives one diff for a MetadataV2 from the index stream. This is called once for each package in the index diff.
Link copied to clipboard
abstract fun receiveRepoDiff(version: Long, repoJsonObject: ERROR CLASS: Symbol not found for JsonObject)
Receives the diff for the RepoV2 from the index stream.
Link copied to clipboard
abstract fun receiveVersionsDiff(packageName: String, versionsDiffMap: Map<String, ERROR CLASS: Symbol not found for JsonObject??>?)
Receives the diff for all versions of the give n packageName as a map of versions IDs to the diff JsonObject. This is called once for each package in the index diff (if versions have changed).