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

Function resultLinesToText

lib/utils.ts:630–632  ·  view source on GitHub ↗
(lines: ResultLine[])

Source from the content-addressed store, hash-verified

628}
629
630export function resultLinesToText(lines: ResultLine[]): string {
631 return lines.map(line => line.text).join('\n');
632}
633
634/**
635 * Try and read a file as a utf-8 text file, returning its contents if present, or undefined if not.

Callers 1

processAsmMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected