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

Method write_footer

ci/util/tee.py:67–80  ·  view source on GitHub ↗

Write standardized footer with exit code. Format: +++++++ exit code N Args: exit_code: Process exit code

(self, exit_code: int)

Source from the content-addressed store, hash-verified

65 print(line)
66
67 def write_footer(self, exit_code: int) -> None:
68 """
69 Write standardized footer with exit code.
70
71 Format:
72 +++++++
73 exit code N
74
75 Args:
76 exit_code: Process exit code
77 """
78 with self._lock:
79 self._file_handle.write("+++++++\n")
80 self._file_handle.write(f"exit code {exit_code}\n")
81
82 def close(self) -> None:
83 """Flush and close the file handle."""

Callers 2

producer_threadFunction · 0.95
compile_mesonFunction · 0.95

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected