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

Function _get_output_lines

ci/util/running_process_group.py:43–50  ·  view source on GitHub ↗

Convert process stdout to a list of lines for extract_error_snippet.

(proc: RunningProcess)

Source from the content-addressed store, hash-verified

41
42
43def _get_output_lines(proc: RunningProcess) -> list[str]:
44 """Convert process stdout to a list of lines for extract_error_snippet."""
45 output = proc.stdout
46 if isinstance(output, bytes):
47 output = output.decode("utf-8", errors="replace")
48 if not output:
49 return []
50 return output.splitlines()
51
52
53class ExecutionMode(Enum):

Callers 6

_run_parallelMethod · 0.85
_get_last_output_lineMethod · 0.85
_build_failure_listMethod · 0.85
_run_sequentialMethod · 0.85

Calls 1

decodeMethod · 0.45

Tested by

no test coverage detected