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

Function meetsQueryWordFloor

src/search/query-utils.ts:196–198  ·  view source on GitHub ↗
(word: string)

Source from the content-addressed store, hash-verified

194 * script, so short words like English `is` or Russian `на` and `из` stay out.
195 */
196export function meetsQueryWordFloor(word: string): boolean {
197 return hasCjk(word) ? [...word].length >= 2 : word.length >= 3;
198}
199
200/**
201 * Is `token` written like a name, in any script: `Session.request`, `pkg::run`,

Callers 3

extractSymbolsFromQueryFunction · 0.90
isQueryNameTokenFunction · 0.85
extractSearchTermsFunction · 0.85

Calls 1

hasCjkFunction · 0.85

Tested by

no test coverage detected