MCPcopy Index your code
hub / github.com/archlinux/archinstall / is_alive

Method is_alive

archinstall/lib/command.py:117–123  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

115 )
116
117 def is_alive(self) -> bool:
118 self.poll()
119
120 if self.started and not self.ended:
121 return True
122
123 return False
124
125 def write(self, data: bytes, line_ending: bool = True) -> int:
126 assert isinstance(data, bytes) # TODO: Maybe we can support str as well and encode it

Callers 3

_add_keyMethod · 0.95
fido2_enrollMethod · 0.95

Calls 1

pollMethod · 0.95

Tested by

no test coverage detected