MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / ids_of

Method ids_of

scripts/test-impact/coverage-map.py:130–137  ·  view source on GitHub ↗
(self, names)

Source from the content-addressed store, hash-verified

128 return (source, short)
129
130 def ids_of(self, names):
131 out = set()
132 for name in names:
133 key = self.key(name)
134 if key not in self.ids:
135 self.ids[key] = len(self.ids)
136 out.add(self.ids[key])
137 return sorted(out)
138
139 def rows(self):
140 for (source, short), ident in sorted(self.ids.items(), key=lambda item: item[1]):

Callers 1

mainFunction · 0.95

Calls 2

keyMethod · 0.95
setFunction · 0.85

Tested by

no test coverage detected