MCPcopy
hub / github.com/marktext/marktext / isImageFile

Method isImageFile

packages/desktop/src/types/global.d.ts:117–117  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

115 hasMarkdownExtension(filename: string): boolean
116 isSamePathSync(a: string, b: string, isNormalized?: boolean): boolean
117 isImageFile(p: string): Promise<boolean>
118 MARKDOWN_INCLUSIONS: string[]
119 }
120

Callers 1

moveImageToFolderFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected