MCPcopy
hub / github.com/TypeStrong/ts-node / VirtualFileState

Interface VirtualFileState

src/bin.ts:489–493  ·  view source on GitHub ↗

* , [stdin], and [eval] are all essentially virtual files that do not exist on disc and are backed by a REPL * service to handle eval-ing of code.

Source from the content-addressed store, hash-verified

487 * service to handle eval-ing of code.
488 */
489 interface VirtualFileState {
490 state: EvalState;
491 repl: ReplService;
492 module?: Module;
493 }
494 let evalStuff: VirtualFileState | undefined;
495 let replStuff: VirtualFileState | undefined;
496 let stdinStuff: VirtualFileState | undefined;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…