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

Function textParam

src/ui-server/api/respond.ts:187–190  ·  view source on GitHub ↗
(query: URLSearchParams, name: string)

Source from the content-addressed store, hash-verified

185export const MAX_QUERY_LENGTH = 2_000;
186
187export function textParam(query: URLSearchParams, name: string): string {
188 const raw = requiredParam(query, name);
189 return boundLength(raw, name);
190}
191
192/**
193 * Text that must be PRESENT but may be empty — a search box the user has

Callers 1

buildSourceFunction · 0.90

Calls 2

requiredParamFunction · 0.85
boundLengthFunction · 0.85

Tested by

no test coverage detected