MCPcopy
hub / github.com/Textualize/rich / readlines

Method readlines

rich/progress.py:260–263  ·  view source on GitHub ↗
(self, hint: int = -1)

Source from the content-addressed store, hash-verified

258 return line
259
260 def readlines(self, hint: int = -1) -> List[bytes]:
261 lines = self.handle.readlines(hint)
262 self.progress.advance(self.task, advance=sum(map(len, lines)))
263 return lines
264
265 def close(self) -> None:
266 if self.close_handle:

Callers

nothing calls this directly

Calls 1

advanceMethod · 0.80

Tested by

no test coverage detected