MCPcopy Create free account
hub / github.com/cometchat/cometchat-uikit-angular / discoverDocFiles

Function discoverDocFiles

scripts/docs-audit.ts:137–148  ·  view source on GitHub ↗

* Scans docs/components/ and returns a set of all .mdx file paths.

()

Source from the content-addressed store, hash-verified

135 * Scans docs/components/ and returns a set of all .mdx file paths.
136 */
137function discoverDocFiles(): Set<string> {
138 const docFiles = new Set<string>();
139 if (!fs.existsSync(DOCS_DIR)) return docFiles;
140
141 const entries = fs.readdirSync(DOCS_DIR);
142 for (const entry of entries) {
143 if (entry.endsWith('.mdx')) {
144 docFiles.add(path.join(DOCS_DIR, entry));
145 }
146 }
147 return docFiles;
148}
149
150// ============================================
151// Task 1.2: @Input() and @Output() Extraction

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected