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

Function effectCategory

src/ui-server/api/steps.ts:323–325  ·  view source on GitHub ↗
(referenceName: string)

Source from the content-addressed store, hash-verified

321 * the project kind (`effects.ts`).
322 */
323export function effectCategory(referenceName: string): string | null {
324 return classifyEffect({ text: referenceName, kind: 'calls' })?.category ?? null;
325}
326
327/** A method of a repository / DAO / mapper, by the container's name — the ORM boundary in a project that types it. */
328const REPOSITORY_CONTAINER = /(?:Repository|Repositories|Repo|Dao|DAO|Mapper|Store|Datastore)$/;

Callers 1

Calls 1

classifyEffectFunction · 0.90

Tested by

no test coverage detected