( absolutePath: string, inputFormat: SourceNotebookFormat, isDirectory: boolean, options: ConvertOptions )
| 185 | } |
| 186 | |
| 187 | async function convertToDeepnote( |
| 188 | absolutePath: string, |
| 189 | inputFormat: SourceNotebookFormat, |
| 190 | isDirectory: boolean, |
| 191 | options: ConvertOptions |
| 192 | ): Promise<ConvertResult> { |
| 193 | return isDirectory |
| 194 | ? convertDirectoryToDeepnote(absolutePath, inputFormat, options) |
| 195 | : convertSingleFileToDeepnote(absolutePath, inputFormat, options) |
| 196 | } |
| 197 | |
| 198 | /** Converts one source notebook to a single-notebook `.deepnote` file. */ |
| 199 | async function convertSingleFileToDeepnote( |
no test coverage detected