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

Method get_diff_paths

aura/uri_handlers/pypi.py:82–93  ·  view source on GitHub ↗
(
            self,
            other: URIHandler
    )

Source from the content-addressed store, hash-verified

80 )
81
82 def get_diff_paths(
83 self,
84 other: URIHandler
85 )-> Generator[Tuple[ScanLocation, ScanLocation], None, None]:
86 if isinstance(other, PyPiHandler):
87 yield self.package.score.get_score_table()
88 yield other.package.score.get_score_table()
89 yield self.package._cmp_info(other.package)
90
91 yield from self.package._cmp_archives(other.package)
92 else:
93 raise UnsupportedDiffLocation()
94
95 def cleanup(self):
96 if self.opts.get("cleanup", False) and self.opts["download_dir"].exists():

Callers

nothing calls this directly

Calls 4

get_score_tableMethod · 0.80
_cmp_infoMethod · 0.80
_cmp_archivesMethod · 0.80

Tested by

no test coverage detected