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

Method runFile

packages/runtime-core/src/execution-engine.ts:149–154  ·  view source on GitHub ↗

* Run a .deepnote file.

(filePath: string, options: ExecutionOptions = {})

Source from the content-addressed store, hash-verified

147 * Run a .deepnote file.
148 */
149 async runFile(filePath: string, options: ExecutionOptions = {}): Promise<ExecutionSummary> {
150 const rawBytes = await readFile(filePath)
151 const content = decodeUtf8NoBom(rawBytes)
152 const file = deserializeDeepnoteFile(content)
153 return this.runProject(file, options)
154 }
155
156 /**
157 * Run a parsed DeepnoteFile.

Callers 1

Calls 3

runProjectMethod · 0.95
decodeUtf8NoBomFunction · 0.90
deserializeDeepnoteFileFunction · 0.90

Tested by

no test coverage detected