MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / readLogTail

Function readLogTail

e2e/setup/boot.ts:59–66  ·  view source on GitHub ↗
(logFile: string | undefined)

Source from the content-addressed store, hash-verified

57}
58
59const readLogTail = (logFile: string | undefined): string => {
60 if (!logFile) return "";
61 try {
62 return readFileSync(logFile, "utf8").slice(-BOOT_LOG_TAIL_BYTES).trim();
63 } catch {
64 return "";
65 }
66};
67
68export const bootProcesses = (
69 procs: ReadonlyArray<{

Callers 1

bootProcessesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected