MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / tail

Function tail

graph-ui/tools/release-gate.mjs:293–294  ·  view source on GitHub ↗
(text, lines = 12)

Source from the content-addressed store, hash-verified

291}
292
293const tail = (text, lines = 12) =>
294 text.trim().split('\n').slice(-lines).map((line) => line.trimEnd());
295
296async function git(args) {
297 const { stdout } = await execFileAsync('git', args, { cwd: ROOT, maxBuffer: 32 * 1024 * 1024 });

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected