(file:string, workspace:string)
| 118 | |
| 119 | // If we're running on the client, we use the global _workspaceCache, created in the build phase or served by the server. |
| 120 | var fetchFile = function(file:string, workspace:string):string|undefined { |
| 121 | let cache = global["_workspaceCache"][workspace]; |
| 122 | file = getRelativePath(file, workspace); |
| 123 | return cache && cache[file]; |
| 124 | } |
| 125 | |
| 126 | var fetchWorkspace = function(workspace:string) { |
| 127 | return global["_workspaceCache"][workspace]; |
no test coverage detected