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

Method get_closure

aura/diff.py:299–306  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

297 return modified
298
299 def get_closure(self):
300 modified = self.find_file_modifications()
301 modified_locations = [x[0] for x in modified]
302 modified_locations.extend(x[1] for x in modified)
303 removed = [x for x in self.left if x not in modified_locations]
304 added = [x for x in self.right if x not in modified_locations]
305
306 return {"added": added, "modified": modified, "removed": removed}
307
308 @classmethod
309 def get_similarity_threshold(cls) -> float:

Callers 3

_diff_filesMethod · 0.80

Calls 1

Tested by 2