MCPcopy Create free account
hub / github.com/FastLED/FastLED / clear_request_file

Function clear_request_file

ci/util/pio_package_daemon.py:232–240  ·  view source on GitHub ↗

Remove request file after processing.

()

Source from the content-addressed store, hash-verified

230
231
232def clear_request_file() -> None:
233 """Remove request file after processing."""
234 try:
235 REQUEST_FILE.unlink(missing_ok=True)
236 except KeyboardInterrupt as ki:
237 handle_keyboard_interrupt(ki)
238 raise
239 except Exception as e:
240 logging.error(f"Failed to clear request file: {e}")
241
242
243def check_disk_space(path: Path, required_mb: int = 1000) -> tuple[bool, str]:

Callers 1

run_daemon_loopFunction · 0.85

Calls 3

unlinkMethod · 0.80
errorMethod · 0.45

Tested by

no test coverage detected