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

Function isRunnableExtension

packages/convert/src/load-runnable-file.ts:48–50  ·  view source on GitHub ↗
(ext: string)

Source from the content-addressed store, hash-verified

46 * Check if a file extension is supported for running.
47 */
48export function isRunnableExtension(ext: string): ext is RunnableExtension {
49 return RUNNABLE_EXTENSIONS.includes(ext.toLowerCase() as RunnableExtension)
50}
51
52function unsupportedExtensionError(ext: string): LoadRunnableFileError {
53 return new LoadRunnableFileError(

Callers 3

parseRunnableFileContentFunction · 0.85
loadRunnableFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected