Home
last modified time | relevance | path

Searched refs:isOHModules (Results 1 – 5 of 5) sorted by relevance

/third_party/typescript/src/compiler/
DmoduleSpecifiers.ts277 isOHModules?: boolean
296 … : discoverProbableSymlinks(host.getSourceFiles(), getCanonicalFileName, cwd, isOHModules);
343 const isOHModules: boolean =isOhpm(packageManagerType); constant
355 isOHModules
529 const isOHModules: boolean = isOhpm(options.packageManagerType); constant
530 …const packageJsonContent = isOHModules ? JSON5.parse(host.readFile!(packageJsonPath)!) : JSON.pars…
DresolutionCache.ts512 … const isOHModules: boolean = isOhpm(resolutionHost.getCompilationSettings().packageManagerType); constant
513 … while (isOHModules ? pathContainsOHModules(dirPath) : pathContainsNodeModules(dirPath)) {
519 if (isOHModules ? isOHModulesDirectory(dirPath) : isNodeModulesDirectory(dirPath)) {
779 … const isOHModules = isOhpm(resolutionHost.getCompilationSettings().packageManagerType); constant
780 …if (isNodeModulesAtTypesDirectory(fileOrDirectoryPath) || (isOHModules && isOHModulesAtTypesDirect…
781 …tory(fileOrDirectoryPath) || isNodeModulesAtTypesDirectory(dirOfFileOrDirectory) || (isOHModules &&
DmoduleNameResolver.ts954 const isOHModules: boolean = isOhpm(compilerOptions.packageManagerType); constant
957 …return toSearchResult({ resolved, isExternalLibraryImport: isOHModules ? pathContainsOHModules(res…
963 …const message = isOHModules ? Diagnostics.Loading_module_0_from_oh_modules_folder_target_file_type…
1185 const isOHModules: boolean = isOhpm(state.compilerOptions.packageManagerType); constant
1186 …const packageJsonContent = isOHModules ? JSON5.parse(host.readFile!(packageJsonPath)!) : readJson(…
1188 …const message = isOHModules ? Diagnostics.Found_oh_package_json5_at_0 : Diagnostics.Found_package_…
Dutilities.ts6426 …SourceFile[], getCanonicalFileName: GetCanonicalFileName, cwd: string, isOHModules?: boolean): Sym…
6432 …DirectorySymlink(resolvedPath, originalPath, cwd, getCanonicalFileName, isOHModules) || emptyArray;
6442 …g, b: string, cwd: string, getCanonicalFileName: GetCanonicalFileName, isOHModules?: boolean): [st…
6446 …!isModulesOrScopedPackageDirectory(aParts[aParts.length - 2], getCanonicalFileName, isOHModules) &&
6447 …!isModulesOrScopedPackageDirectory(bParts[bParts.length - 2], getCanonicalFileName, isOHModules) &&
6458 …ackageDirectory(s: string, getCanonicalFileName: GetCanonicalFileName, isOHModules?: boolean): boo…
6459 …return getCanonicalFileName(s) === "node_modules" || (isOHModules && getCanonicalFileName(s) === "…
/third_party/typescript/src/services/codefixes/
DimportFixes.ts948 const isOHModules = isOhpm(program.getCompilerOptions().packageManagerType); constant
961 … isImportablePath(from.fileName, toPath, getCanonicalFileName, globalTypingsCache, isOHModules);
963 isOHModules
971 … getCanonicalFileName: GetCanonicalFileName, globalCachePath?: string, isOHModules?: boolean): boo…
973 …estorDirectory(toPath, ancestor => (getBaseFileName(ancestor) === "node_modules" || (isOHModules &&