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

Function tail

graph-ui/tools/freshclone-check.mjs:102–103  ·  view source on GitHub ↗
(text, lines = 12)

Source from the content-addressed store, hash-verified

100
101/** Der letzte Rest einer Ausgabe, so viel wie in einen Bericht gehoert. */
102const tail = (text, lines = 12) =>
103 text.trim().split('\n').slice(-lines).map((line) => line.trimEnd());
104
105/**
106 * Was der Arbeitsbaum gegenueber HEAD anders hat: Pfade und was mit ihnen ist.

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected