MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / isImportSource

Function isImportSource

graph-ui/src/pseudocode/imports-source.ts:67–70  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

65
66/** True when this reader has a pattern family for the file. */
67export function isImportSource(filePath: string): boolean {
68 const lower = filePath.toLowerCase();
69 return IMPORT_SOURCE_EXTENSIONS.some((extension) => lower.endsWith(extension));
70}
71
72/**
73 * Eine `import ... from '...'`-Anweisung, samt ihrer Klausel.

Callers 2

readImportStatementsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected