MCPcopy Create free account
hub / github.com/archlinux/archinstall / seek

Method seek

archinstall/lib/command.py:144–147  ·  view source on GitHub ↗
(self, pos: int)

Source from the content-addressed store, hash-verified

142 return self._trace_log_pos
143
144 def seek(self, pos: int) -> None:
145 self.make_sure_we_are_executing()
146 # Safety check to ensure 0 < pos < len(tracelog)
147 self._trace_log_pos = min(max(0, pos), len(self._trace_log))
148
149 def peak(self, output: str | bytes) -> bool:
150 if self.peek_output:

Callers 2

stringifyMethod · 0.45
mkinitcpioMethod · 0.45

Calls 1

Tested by

no test coverage detected