| 266 | } |
| 267 | |
| 268 | interface 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 | |
| 277 | async function convertSingleFileToDeepnote(options: ConvertSingleFileOptions): Promise<string> { |
| 278 | const { absolutePath, formatName, converter, resolveProjectName, resolveOutputPath, singleFile } = options |
nothing calls this directly
no outgoing calls
no test coverage detected