Home
last modified time | relevance | path

Searched refs:fileOrDirectoryPath (Results 1 – 8 of 8) sorted by relevance

/third_party/typescript/src/compiler/
DresolutionCache.ts886 const fileOrDirectoryPath = resolutionHost.toPath(fileOrDirectory); constant
889 … cachedDirectoryStructureHost.addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath);
892 …cheduleInvalidateResolutionOfFailedLookupLocation(fileOrDirectoryPath, dirPath === fileOrDirectory…
959 …function scheduleInvalidateResolutionOfFailedLookupLocation(fileOrDirectoryPath: Path, isCreatingW…
963 (isInDirectoryChecks ||= new Set()).add(fileOrDirectoryPath);
967 const updatedPath = removeIgnoredPath(fileOrDirectoryPath);
969 fileOrDirectoryPath = updatedPath;
972 if (resolutionHost.fileIsOpen(fileOrDirectoryPath)) {
978 const dirOfFileOrDirectory = getDirectoryPath(fileOrDirectoryPath);
980 …f (isNodeModulesAtTypesDirectory(fileOrDirectoryPath) || (isOHModules && isOHModulesAtTypesDirecto…
[all …]
DwatchUtilities.ts32 …addOrDeleteFileOrDirectory(fileOrDirectory: string, fileOrDirectoryPath: Path): FileAndDirectoryEx…
230 function addOrDeleteFileOrDirectory(fileOrDirectory: string, fileOrDirectoryPath: Path) {
231 const existingResult = getCachedFileSystemEntries(fileOrDirectoryPath);
239 const parentResult = getCachedFileSystemEntriesForBaseDir(fileOrDirectoryPath);
255 fileExists: host.fileExists(fileOrDirectoryPath),
256 directoryExists: host.directoryExists(fileOrDirectoryPath)
482 fileOrDirectoryPath: Path; property
494 watchedDirPath, fileOrDirectory, fileOrDirectoryPath,
499 const newPath = removeIgnoredPath(fileOrDirectoryPath);
505 fileOrDirectoryPath = newPath;
[all …]
DwatchPublic.ts923 const fileOrDirectoryPath = toPath(fileOrDirectory); constant
927 … cachedDirectoryStructureHost.addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath);
929 nextSourceFileVersion(fileOrDirectoryPath);
934 fileOrDirectoryPath,
1019 const fileOrDirectoryPath = toPath(fileOrDirectory); constant
1022 … cachedDirectoryStructureHost.addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath);
1024 nextSourceFileVersion(fileOrDirectoryPath);
1031 fileOrDirectoryPath,
Dprogram.ts4293 const fileOrDirectoryPath = host.toPath(fileOrDirectory); constant
4295 if (!stringContains(fileOrDirectoryPath, modulesPathPart)) return false;
4296 if (isFile && symlinkCache.getSymlinkedFiles()?.has(fileOrDirectoryPath)) return true;
4302 … if (!symlinkedDirectory || !startsWith(fileOrDirectoryPath, directoryPath)) return undefined;
4303 …const result = fileOrDirectoryExistsUsingSource(fileOrDirectoryPath.replace(directoryPath, symlink…
4308 fileOrDirectoryPath,
DtsbuildPublic.ts2166 fileOrDirectoryPath: toPath(state, fileOrDirectory),
/third_party/typescript/src/server/
DeditorServices.ts1319 const fileOrDirectoryPath = this.toPath(fileOrDirectory); constant
1320 …nfig.cachedDirectoryStructureHost.addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath);
1321 …if (getBaseFileName(fileOrDirectoryPath) === "package.json" && !isInsideNodeModules(fileOrDirector…
1322 … (fsResult && fsResult.fileExists || !fsResult && this.host.fileExists(fileOrDirectoryPath))
1325 this.onAddPackageJson(fileOrDirectoryPath);
1332 fileOrDirectoryPath,
1356 if (this.openFiles.has(fileOrDirectoryPath)) {
1357 … const info = Debug.checkDefined(this.getScriptInfoForPath(fileOrDirectoryPath));
1359 …elToSet = Math.max(reloadLevel, project.openFileWatchTriggered.get(fileOrDirectoryPath) || ConfigF…
1360 … project.openFileWatchTriggered.set(fileOrDirectoryPath, loadLevelToSet);
[all …]
/third_party/typescript/lib/
Dtsc.js99853 function addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath) { argument
99854 var existingResult = getCachedFileSystemEntries(fileOrDirectoryPath);
99859 var parentResult = getCachedFileSystemEntriesForBaseDir(fileOrDirectoryPath);
99869 fileExists: host.fileExists(fileOrDirectoryPath),
99870 directoryExists: host.directoryExists(fileOrDirectoryPath)
100005 …watchedDirPath, fileOrDirectory = _a.fileOrDirectory, fileOrDirectoryPath = _a.fileOrDirectoryPath
100006 var newPath = ts.removeIgnoredPath(fileOrDirectoryPath);
100011 fileOrDirectoryPath = newPath;
100012 if (fileOrDirectoryPath === watchedDirPath)
100014 …if (ts.hasExtension(fileOrDirectoryPath) && !ts.isSupportedSourceFileName(fileOrDirectory, options…
[all …]
DtypingsInstaller.js120431 function addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath) { argument
120432 var existingResult = getCachedFileSystemEntries(fileOrDirectoryPath);
120439 var parentResult = getCachedFileSystemEntriesForBaseDir(fileOrDirectoryPath);
120452 fileExists: host.fileExists(fileOrDirectoryPath),
120453 directoryExists: host.directoryExists(fileOrDirectoryPath)
120629 …watchedDirPath, fileOrDirectory = _a.fileOrDirectory, fileOrDirectoryPath = _a.fileOrDirectoryPath
120630 var newPath = ts.removeIgnoredPath(fileOrDirectoryPath);
120635 fileOrDirectoryPath = newPath;
120636 if (fileOrDirectoryPath === watchedDirPath)
120640 …if (ts.hasExtension(fileOrDirectoryPath) && !ts.isSupportedSourceFileName(fileOrDirectory, options…
[all …]