MCPcopy Index your code
hub / github.com/nodejs/node / recordFile

Method recordFile

deps/v8/tools/locs.py:275–279  ·  view source on GitHub ↗
(self, filename, targetname, loc, in_bytes, expanded, expanded_bytes)

Source from the content-addressed store, hash-verified

273 return is_tracked
274
275 def recordFile(self, filename, targetname, loc, in_bytes, expanded, expanded_bytes):
276 unit = File(filename, targetname, loc, in_bytes, expanded, expanded_bytes)
277 self.units[filename] = unit
278 for group in self.groups.values():
279 group.account(unit)
280
281 def maxGroupWidth(self):
282 return MaxWidth([v.name for v in self.groups.values()])

Callers 1

count_lines_of_unitFunction · 0.80

Calls 3

accountMethod · 0.80
FileClass · 0.70
valuesMethod · 0.45

Tested by

no test coverage detected