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

Function _get_output

ci/util/fbuild_runner.py:137–143  ·  view source on GitHub ↗

Return the appropriate output stream.

(quiet: bool, log_file: IO[str] | None)

Source from the content-addressed store, hash-verified

135
136
137def _get_output(quiet: bool, log_file: IO[str] | None) -> IO[str]:
138 """Return the appropriate output stream."""
139 if quiet and log_file is not None:
140 return log_file
141 if quiet:
142 return io.StringIO() # discard
143 return sys.stdout
144
145
146def _get_env_job_count(name: str) -> int | None:

Callers 4

run_fbuild_compileFunction · 0.85
run_fbuild_uploadFunction · 0.85
run_fbuild_deployFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected