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

Function makeLoaded

packages/convert/src/snapshot/resolve-init.test.ts:54–56  ·  view source on GitHub ↗

Wraps a `DeepnoteFile` as the `LoadedRunnableFile` the resolver consumes.

(file: DeepnoteFile, originalPath: string, format: RunnableFormat = 'deepnote')

Source from the content-addressed store, hash-verified

52
53/** Wraps a `DeepnoteFile` as the `LoadedRunnableFile` the resolver consumes. */
54function makeLoaded(file: DeepnoteFile, originalPath: string, format: RunnableFormat = 'deepnote'): LoadedRunnableFile {
55 return { file, originalPath, format, wasConverted: format !== 'deepnote' }
56}
57
58describe('resolveAndComposeInit', () => {
59 let tempDir: string

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected