MCPcopy
hub / github.com/crxjs/chrome-extension-tools / FilesContext

Interface FilesContext

src/files.machine.ts:20–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18import { narrowEvent } from './xstate_helpers'
19
20export interface FilesContext {
21 filesById: Map<string, ReturnType<typeof spawnFile>>
22 filesByName: Map<string, ReturnType<typeof spawnFile>>
23 root: string
24 inputsByName: Map<string, BaseAsset | Script>
25 excluded: Set<FileType>
26 lastError?: Error
27}
28const filesContext: FilesContext = {
29 filesById: new Map(),
30 filesByName: new Map(),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected