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

Method getOpenedSourceFile

compiler/companion/src/project/Project.ts:76–78  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

74 }
75
76 getOpenedSourceFile(path: string): ts.SourceFile | undefined {
77 return this.sourceFileManager.getSourceFile(path);
78 }
79
80 removeSourceFile(path: string) {
81 this.sourceFileManager.removeSourceFile(path);

Callers 3

getOpenedFileMethod · 0.80
transformDiagnosticMethod · 0.80
Project.spec.tsFile · 0.80

Calls 1

getSourceFileMethod · 0.45

Tested by

no test coverage detected