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

Method emitFile

compiler/companion/src/cache/CachingWorkspace.ts:149–153  ·  view source on GitHub ↗
(fileName: string)

Source from the content-addressed store, hash-verified

147 }
148
149 async emitFile(fileName: string): Promise<EmitResult> {
150 return this.processAndCacheRequest(fileName, CacheKey.emitFile, (workspace, fileName) =>
151 workspace.emitFile(fileName),
152 );
153 }
154
155 async getDiagnostics(fileName: string): Promise<GetDiagnosticsResult> {
156 return this.processRequest(fileName, CacheKey.getDiagnostics, (workspace, fileName) =>

Callers

nothing calls this directly

Calls 2

emitFileMethod · 0.65

Tested by

no test coverage detected