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

Method from_removed

aura/diff.py:51–57  ·  view source on GitHub ↗
(cls, loc: ScanLocation)

Source from the content-addressed store, hash-verified

49
50 @classmethod
51 def from_removed(cls, loc: ScanLocation):
52 data = {
53 "operation": "D",
54 "a_scan": loc,
55 "b_scan": None,
56 }
57 return cls(**data)
58
59 @classmethod
60 def from_modified(cls, a_loc: ScanLocation, b_loc: ScanLocation, similarity: Optional[float]=None, content_diff: Optional[str]=None):

Callers 1

_diff_filesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected