MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / flush_stream

Function flush_stream

etc/scripts/cutedsl_wrapper.py:100–104  ·  view source on GitHub ↗
(stream: object)

Source from the content-addressed store, hash-verified

98
99
100def flush_stream(stream: object) -> None:
101 try:
102 stream.flush()
103 except Exception:
104 pass
105
106
107@contextlib.contextmanager

Callers 1

suppress_output_fdsFunction · 0.85

Calls 1

flushMethod · 0.80

Tested by

no test coverage detected