MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / clear

Method clear

epd_helper.py:100–106  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

98 logger.error(f"Error during partial display update: {e} (image={image.size if hasattr(image,'size') else '?'}, epd={self.epd.width}x{self.epd.height}, buf_len={len(buf) if 'buf' in dir() else '?'})")
99 raise
100
101 def clear(self):
102 try:
103 self.epd.Clear()
104 logger.info("EPD cleared.")
105 except Exception as e:
106 logger.error(f"Error clearing EPD: {e}")
107 raise
108
109 def display_full(self, image):

Callers 15

wipe_displayFunction · 0.95
delete_all_scansMethod · 0.45
load_actionsMethod · 0.45
clear_cacheMethod · 0.45
clear_statsMethod · 0.45
startMethod · 0.45
stop_serialMethod · 0.45
auth_logoutFunction · 0.45
reset_vulnerabilitiesFunction · 0.45
_run_gc9a01Method · 0.45

Calls 3

infoMethod · 0.80
errorMethod · 0.80
ClearMethod · 0.45

Tested by

no test coverage detected