MCPcopy
hub / github.com/strukto-ai/mirage / print

Function print

examples/typescript/ram/ram.ts:22–24  ·  view source on GitHub ↗
(bytes: Uint8Array)

Source from the content-addressed store, hash-verified

20const resource = new RAMResource()
21
22function print(bytes: Uint8Array): void {
23 process.stdout.write(new TextDecoder().decode(bytes) + '\n')
24}
25
26async function runLabeled(ws: Workspace, label: string, cmd: string): Promise<void> {
27 console.log(`=== ${label} ===`)

Callers 15

runLabeledFunction · 0.70
mainFunction · 0.70
mirageMethod · 0.50
mountFunction · 0.50
mainFunction · 0.50
run_caseFunction · 0.50
run_not_foundFunction · 0.50
_emit_bodyFunction · 0.50
run_casesFunction · 0.50
run_casesFunction · 0.50
run_casesFunction · 0.50
mainFunction · 0.50

Calls 1

writeMethod · 0.65

Tested by 2

mirageMethod · 0.40
mainFunction · 0.40