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

Method from_added

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

Source from the content-addressed store, hash-verified

40
41 @classmethod
42 def from_added(cls, loc: ScanLocation):
43 data = {
44 "operation": "A",
45 "a_scan": None,
46 "b_scan": loc,
47 }
48 return cls(**data)
49
50 @classmethod
51 def from_removed(cls, loc: ScanLocation):

Callers 1

_diff_filesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected