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

Function namesAPath

graph-ui/src/app/tree-model.ts:193–198  ·  view source on GitHub ↗
(child: { name: string; path: string })

Source from the content-addressed store, hash-verified

191 * Datei ist schlimmer als eine haessliche Zeile.
192 */
193export function namesAPath(child: { name: string; path: string }): boolean {
194 if (child.name.length === 0 || child.path.length === 0) {
195 return false;
196 }
197 return child.name !== '{}' && child.path !== '{}';
198}
199
200/**
201 * Anzeigeordnung: Ordner zuerst, dann Dateien, beides alphabetisch.

Callers 2

tree-model.test.tsFile · 0.90
readTreeLevelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected