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

Function status

__tests__/steps-server-rendered-replies.test.ts:204–204  ·  view source on GitHub ↗
(text: string, args: string | null = null)

Source from the content-addressed store, hash-verified

202describe('reply classification', () => {
203 const php = (text: string) => classifyEffect({ text, kind: 'calls', language: 'php', project: 'api' })?.category ?? null;
204 const status = (text: string, args: string | null = null) => responseStatus(text, args) ?? implicitResponseStatus(text);
205
206 it("reads Laravel's reply chains with their argument lists stripped, and their statuses", () => {
207 for (const t of ['view', 'redirect', 'redirect()->route', 'redirect()->back()->withErrors', 'back', 'to_route', 'response()->json', 'response()->noContent']) {

Calls 2

responseStatusFunction · 0.90
implicitResponseStatusFunction · 0.90

Tested by

no test coverage detected