MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / readWord

Function readWord

packages/core/sdk/src/www-authenticate.ts:42–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40 let i = 0;
41
42 const readWord = (): string => {
43 const start = i;
44 while (i < len && WORD_RE.test(header[i]!)) i += 1;
45 return header.slice(start, i);
46 };
47 // Returns null on an unterminated quote or a quote run into the next token.
48 const readQuoted = (): string | null => {
49 let value = "";

Callers 1

parseChallengesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected