MCPcopy Create free account
hub / github.com/deepnote/deepnote / getLabel

Function getLabel

packages/cli/src/commands/analyze.ts:90–96  ·  view source on GitHub ↗
(blockId: string)

Source from the content-addressed store, hash-verified

88
89 // Helper to get block label
90 const getLabel = (blockId: string): string => {
91 const info = blockMap.get(blockId)
92 if (info) {
93 return `${info.notebookName}/${info.label}`
94 }
95 return blockId.slice(0, 8)
96 }
97
98 // Find entry points (blocks with no incoming edges)
99 const blocksWithIncoming = new Set(dag.edges.map(e => e.to))

Callers 1

buildAnalyzeResultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected