MCPcopy
hub / github.com/github/awesome-copilot / isMarkdownFile

Function isMarkdownFile

website/src/scripts/modal.ts:116–118  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

114}
115
116function isMarkdownFile(filePath: string): boolean {
117 return /\.(md|markdown|mdx)$/i.test(filePath);
118}
119
120function getCollectionRootPath(
121 filePath: string,

Callers 2

updateViewButtonsFunction · 0.85
renderCurrentFileContentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected