MCPcopy Index your code
hub / github.com/forloopcodes/contextplus / shouldTrack

Function shouldTrack

src/core/embedding-tracker.ts:44–47  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

42}
43
44function shouldTrack(path: string): boolean {
45 if (!path) return false;
46 return !IGNORE_PREFIXES.some((prefix) => path.startsWith(prefix));
47}
48
49function clampFilesPerTick(value: number | undefined): number {
50 if (!Number.isFinite(value)) return DEFAULT_FILES_PER_TICK;

Callers 1

startEmbeddingTrackerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected