MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / bounded-source.test.ts

File bounded-source.test.ts

__tests__/bounded-source.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Source reads are bounded by the read itself, not only by a stat taken
3 * before it (#1910). A file can grow between the stat and the read; the
4 * reader must still never hold more than the limit plus one byte.

Callers

nothing calls this directly

Calls 7

readBoundedSourceSyncFunction · 0.90
readBoundedSourceFunction · 0.90
describeFunction · 0.85
sourceFileFunction · 0.85
fromMethod · 0.80
pushMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected