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

Function effectCategory

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 1

classifyEffectFunction · 0.90

Tested by

no test coverage detected