MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / shouldIgnoreSegment

Function shouldIgnoreSegment

packages/cli/src/utils/publishProject.ts:162–164  ·  view source on GitHub ↗
(segment: string)

Source from the content-addressed store, hash-verified

160}
161
162function shouldIgnoreSegment(segment: string): boolean {
163 return segment.startsWith(".") || IGNORED_DIRS.has(segment) || IGNORED_FILES.has(segment);
164}
165
166function collectProjectFiles(rootDir: string, currentDir: string, paths: string[]): void {
167 for (const entry of readdirSync(currentDir, { withFileTypes: true })) {

Callers 1

collectProjectFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected