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

Method show

archinstall/lib/menu/helpers.py:156–176  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

154 self._info_callback = info_callback
155
156 async def show(self) -> Result[str]:
157 validator = GenericValidator(self._validator_callback) if self._validator_callback else None
158
159 result = await InputScreen(
160 header=self._header,
161 placeholder=self._placeholder,
162 password=self._password,
163 default_value=self._default_value,
164 allow_skip=self._allow_skip,
165 allow_reset=self._allow_reset,
166 validator=validator,
167 info_callback=self._info_callback,
168 ).run()
169
170 if result.type_ == ResultType.Reset:
171 confirmed = await _confirm_reset()
172
173 if confirmed.get_value() is False:
174 return await self.show()
175
176 return result
177
178
179class Loading[ValueT]:

Callers 15

_confirmFunction · 0.45
confirm_configFunction · 0.45
save_configFunction · 0.45
_select_applicationsMethod · 0.45
_locale_selectionMethod · 0.45
_pacman_configurationMethod · 0.45
_select_disk_configMethod · 0.45
_select_profileMethod · 0.45
_runMethod · 0.45
_run_actions_on_entryMethod · 0.45

Calls 5

InputScreenClass · 0.90
GenericValidatorClass · 0.85
_confirm_resetFunction · 0.85
runMethod · 0.45
get_valueMethod · 0.45

Tested by

no test coverage detected