MCPcopy Create free account
hub / github.com/SourceCode-AI/aura / get_diff_candidates

Method get_diff_candidates

aura/package.py:231–234  ·  view source on GitHub ↗
(self, other: PypiPackage)

Source from the content-addressed store, hash-verified

229 yield (self_releases[0], other_releases[0])
230
231 def get_diff_candidates(self, other: PypiPackage) -> Generator[Tuple[ReleaseInfo, ReleaseInfo], None, None]:
232 for self_version, other_version in self._yield_cmp_versions(other):
233 for self_archive, other_archive in self._yield_archive_md5(self_version, other, other_version):
234 yield (self_archive, other_archive)
235
236 def _cmp_info(self, other: PypiPackage) -> table.Table:
237 info_table = table.Table(metadata={"title": "PyPI metadata diff"})

Callers 2

_cmp_archivesMethod · 0.95

Calls 2

_yield_cmp_versionsMethod · 0.95
_yield_archive_md5Method · 0.95

Tested by 1