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

Function smallestModel

graph-ui/tools/verify-models.mjs:84–90  ·  view source on GitHub ↗

Das kleinste Modell, das die Pruefsummendatei nennt und das wirklich daliegt.

(entries)

Source from the content-addressed store, hash-verified

82
83/** Das kleinste Modell, das die Pruefsummendatei nennt und das wirklich daliegt. */
84function smallestModel(entries) {
85 const present = entries
86 .filter((entry) => entry.exists)
87 .map((entry) => ({ file: entry.file, size: entry.size }))
88 .sort((a, b) => a.size - b.size);
89 return present[0];
90}
91
92/** Den gebauten Server einmal mit `--version` fragen. */
93function serverVersion() {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected