MCPcopy Index your code
hub / github.com/deepnote/deepnote / loadDeepnoteFile

Function loadDeepnoteFile

packages/cli/src/utils/block-label.test.ts:12–15  ·  view source on GitHub ↗
(relativePath: string)

Source from the content-addressed store, hash-verified

10const BLOCKS_FILE = join('examples', '2_blocks.deepnote')
11
12function loadDeepnoteFile(relativePath: string) {
13 const content = readFileSync(relativePath, 'utf-8')
14 return deserializeDeepnoteFile(content)
15}
16
17function findBlockByType(blocks: DeepnoteBlock[], type: string): DeepnoteBlock {
18 const block = blocks.find(b => b.type === type)

Callers 1

Calls 1

deserializeDeepnoteFileFunction · 0.90

Tested by

no test coverage detected