MCPcopy Index your code
hub / github.com/Dimillian/CodexMonitor / isPathLike

Function isPathLike

src/utils/threadItems.explore.ts:158–166  ·  view source on GitHub ↗
(token: string)

Source from the content-addressed store, hash-verified

156}
157
158function isPathLike(token: string) {
159 if (!token || isOptionToken(token)) {
160 return false;
161 }
162 if (GLOB_HINT_REGEX.test(token)) {
163 return false;
164 }
165 return PATH_HINT_REGEX.test(token) || PATHLIKE_REGEX.test(token);
166}
167
168function collectNonFlagOperands(tokens: string[], commandName: string) {
169 const operands: string[] = [];

Callers 1

parseSearchFunction · 0.85

Calls 1

isOptionTokenFunction · 0.85

Tested by

no test coverage detected