MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / streamOnOpen

Function streamOnOpen

source code/utils/readFileInRange.ts:220–224  ·  view source on GitHub ↗
(this: StreamState, fd: number)

Source from the content-addressed store, hash-verified

218}
219
220function streamOnOpen(this: StreamState, fd: number): void {
221 fstat(fd, (err, stats) => {
222 this.resolveMtime(err ? 0 : stats.mtimeMs)
223 })
224}
225
226function streamOnData(this: StreamState, chunk: string): void {
227 if (this.isFirstChunk) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected