MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / isStoreFile

Function isStoreFile

src/ui-server/api/steps.ts:314–316  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

312export const STORE_FILE = /(?:^|\/)(?:stores?|storage|state|slices?|reducers?)\/|\.(?:store|storage|slice|reducer)\.[cm]?[jt]sx?$/i;
313
314export function isStoreFile(file: string): boolean {
315 return STORE_FILE.test(file.replace(/\\/g, '/'));
316}
317
318/**
319 * What a call is when it leaves the index, by the reference text alone — the

Callers 2

buildStepsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected