MCPcopy Index your code
hub / github.com/massCodeIO/massCode / isSupportedMarkdownFile

Function isSupportedMarkdownFile

src/main/import/notes/obsidian.ts:17–22  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

15}
16
17function isSupportedMarkdownFile(filePath: string): boolean {
18 return (
19 filePath.toLowerCase().endsWith('.md')
20 && !filePath.toLowerCase().endsWith('.excalidraw.md')
21 )
22}
23
24function getFolderPath(filePath: string): string[] {
25 const directory = path.posix.dirname(filePath)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected