MCPcopy Create free account
hub / github.com/SolaWing/xcode-build-server / read_until_empty_line

Function read_until_empty_line

xclog_parser.py:55–61  ·  view source on GitHub ↗
(i: Iterator[str])

Source from the content-addressed store, hash-verified

53
54
55def read_until_empty_line(i: Iterator[str]) -> List[str]:
56 li = []
57 while True:
58 line = next(i).rstrip("\r\n")
59 if not line:
60 return li
61 li.append(line.strip())
62
63
64def extract_swift_files_from_swiftc(command):

Callers 3

parse_cMethod · 0.85

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected