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

Function responseMethod

__tests__/explore-allocation-e2e.test.ts:500–506  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

498${Array.from({ length: 27 }, (_, i) => inertFiller(i + 1)).join('')}`;
499
500 const responseMethod = (name: string) => `
501 public ${name}(body: string): string {
502 const etag = compileEtag(this.etagSetting)(body);
503 this.headers.set('etag', etag);
504 return body;
505 }
506`;
507
508 const RESPONSE_SOURCE = `
509import { compileEtag } from './etag';

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected