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

Interface ConvertSingleFileOptions

packages/convert/src/cli.ts:268–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266}
267
268interface ConvertSingleFileOptions {
269 absolutePath: string
270 formatName: string
271 converter: (inputFilePath: string, opts: { projectName: string; projectId?: string }) => Promise<DeepnoteFile>
272 resolveProjectName: (name?: string) => string
273 resolveOutputPath: (filename: string) => Promise<string>
274 singleFile: boolean
275}
276
277async function convertSingleFileToDeepnote(options: ConvertSingleFileOptions): Promise<string> {
278 const { absolutePath, formatName, converter, resolveProjectName, resolveOutputPath, singleFile } = options

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected