(path)
| 123646 | return hostSourceFile.sourceFile; |
| 123647 | } |
| 123648 | function nextSourceFileVersion(path) { |
| 123649 | var hostSourceFile = sourceFilesCache.get(path); |
| 123650 | if (hostSourceFile !== undefined) { |
| 123651 | if (isFileMissingOnHost(hostSourceFile)) { |
| 123652 | // The next version, lets set it as presence unknown file |
| 123653 | sourceFilesCache.set(path, { version: false }); |
| 123654 | } |
| 123655 | else { |
| 123656 | hostSourceFile.version = false; |
| 123657 | } |
| 123658 | } |
| 123659 | } |
| 123660 | function getSourceVersion(path) { |
| 123661 | var hostSourceFile = sourceFilesCache.get(path); |
| 123662 | return !hostSourceFile || !hostSourceFile.version ? undefined : hostSourceFile.version; |
no test coverage detected
searching dependent graphs…