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

Function nodeFilePath

graph-ui/src/galaxy/node-names.ts:81–84  ·  view source on GitHub ↗
(node: { label?: string; name: string; qualified_name?: string; file_path?: string })

Source from the content-addressed store, hash-verified

79 * Explore and the search listed a file called "{}".
80 */
81export function nodeFilePath(node: { label?: string; name: string; qualified_name?: string; file_path?: string }): string | undefined {
82 if (node.file_path === '{}' && branchNodeOf({ name: node.name, label: node.label, qualifiedName: node.qualified_name })) return undefined;
83 return node.file_path;
84}
85
86/** The shown name of a Galaxy scope; folders and files keep their paths. */
87export function scopeDisplayName(scope: GraphScope): string {

Callers 9

PathPickerFunction · 0.90
readGraphDataFunction · 0.90
node-names.test.tsFile · 0.90
GalaxyPanelFunction · 0.90
tooltipActionFunction · 0.90
NodeTooltipCardFunction · 0.90
choicesFromSearchHitsFunction · 0.90
GalaxyNavigatorFunction · 0.90
readNodeFunction · 0.90

Calls 1

branchNodeOfFunction · 0.85

Tested by

no test coverage detected