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

Method line

scripts/test-impact/profile_text_parser.py:109–119  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

107 self.values = 0
108
109 def line(self):
110 start = self.position
111 while self.position < len(self.data):
112 self.gate.step()
113 value = self.data[self.position]
114 self.position += 1
115 if value == 0 or value == 13:
116 raise MalformedProfileError("NUL and CR are unsupported")
117 if value == 10:
118 return start, self.position - 1
119 raise MalformedProfileError("unterminated or missing line")
120
121 def marker(self, expected):
122 start, end = self.line()

Callers 5

markerMethod · 0.95
uint64Method · 0.95
recordMethod · 0.95
PathStepsFunction · 0.80
operationLabelsFunction · 0.80

Calls 2

stepMethod · 0.45

Tested by

no test coverage detected