MCPcopy Create free account
hub / github.com/FastFlowLM/FastFlowLM / join_lines

Function join_lines

src/runner/cli_wide_posix.cpp:34–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32
33namespace {
34std::string join_lines(const std::vector<std::string>& lines) {
35 std::string merged;
36 for (size_t i = 0; i < lines.size(); ++i) {
37 if (i > 0) {
38 merged += "\n";
39 }
40 merged += lines[i];
41 }
42 return merged;
43}
44
45bool stdin_has_pending_input(int wait_ms) {
46 pollfd pfd{};

Callers 1

get_interactive_inputMethod · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected