MCPcopy Index your code
hub / github.com/CopilotKit/CopilotKit / delegate

Function delegate

showcase/scripts/__tests__/create-integration.test.ts:696–705  ·  view source on GitHub ↗
(
      p: fs.PathOrFileDescriptor,
      ...rest: unknown[]
    )

Source from the content-addressed store, hash-verified

694 // validate-parity.test.ts / manifest.test.ts.
695 const realRead = fs.readFileSync;
696 const delegate = (
697 p: fs.PathOrFileDescriptor,
698 ...rest: unknown[]
699 ): string | Buffer =>
700 (
701 realRead as unknown as (
702 p: fs.PathOrFileDescriptor,
703 ...rest: unknown[]
704 ) => string | Buffer
705 )(p, ...rest);
706
707 // Case 1: ENOENT (file missing).
708 {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…