MCPcopy Index your code
hub / github.com/ClangBuiltLinux/boot-utils / red

Function red

utils.py:266–273  ·  view source on GitHub ↗

Prints string in bold red. Parameters: string (str): String to print in bold red.

(string: str)

Source from the content-addressed store, hash-verified

264
265
266def red(string: str) -> None:
267 """
268 Prints string in bold red.
269
270 Parameters:
271 string (str): String to print in bold red.
272 """
273 print(f"\n\033[01;31m{string}\033[0m", flush=True)
274
275
276def yellow(string: str) -> None:

Callers 1

dieFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected