MCPcopy Create free account
hub / github.com/Snapchat/Valdi / registerDiskFile

Method registerDiskFile

compiler/companion/src/IWorkspace.d.ts:53–53  ·  view source on GitHub ↗
(fileName: string, absoluteDiskPath: string)

Source from the content-addressed store, hash-verified

51 registerInMemoryFile(fileName: string, fileContent: string): void;
52
53 registerDiskFile(fileName: string, absoluteDiskPath: string): void;
54
55 openFile(fileName: string): Promise<OpenFileResult>;
56

Callers 3

addBaseEndpointsMethod · 0.65
registerDiskFileMethod · 0.65
compileNativeFunction · 0.65

Implementers 3

Workspacecompiler/companion/src/Workspace.ts
CachingWorkspacecompiler/companion/src/cache/CachingWo
TestWorkspacecompiler/companion/src/cache/CachingWo

Calls

no outgoing calls

Tested by

no test coverage detected