Home
last modified time | relevance | path

Searched refs:fileExists (Results 1 – 25 of 96) sorted by relevance

1234

/third_party/node/deps/npm/node_modules/libnpmexec/lib/
Dfile-exists.js5 const fileExists = async (file) => { function
18 if (await fileExists(resolve(binDir, binName))) {
31 fileExists,
Dindex.js14 const { fileExists, localFileExists } = require('./file-exists.js')
141 } else if (globalPath && await fileExists(`${globalBin}/${args[0]}`)) {
196 if (!globalManifest && await fileExists(`${globalBin}/${args[0]}`)) {
/third_party/typescript/tests/baselines/reference/
DAPISample_WatchWithOwnWatchHost.js33 fileExists: ts.sys.fileExists,
85 fileExists: ts.sys.fileExists, property
DAPISample_WatchWithDefaults.js20 const configPath = ts.findConfigFile(/*searchPath*/ "./", ts.sys.fileExists, "tsconfig.json");
68 var configPath = ts.findConfigFile(/*searchPath*/ "./", ts.sys.fileExists, "tsconfig.json");
DAPISample_Watch.js29 const configPath = ts.findConfigFile(/*searchPath*/ "./", ts.sys.fileExists, "tsconfig.json");
101 var configPath = ts.findConfigFile(/*searchPath*/ "./", ts.sys.fileExists, "tsconfig.json");
/third_party/node/test/parallel/
Dtest-fs-watchfile-bigint.js40 let fileExists = false; variable
45 if (!fileExists) {
53 fileExists = true;
Dtest-fs-watchfile.js55 let fileExists = false; variable
59 if (!fileExists) {
67 fileExists = true;
/third_party/typescript/src/services/
Dsourcemaps.ts16 fileExists?(path: string): boolean; method
49 f => !host.fileExists || host.fileExists(f) ? host.readFile!(f) : undefined
105 if (!host.readFile || host.fileExists && !host.fileExists(path)) {
/third_party/typescript/src/testRunner/unittests/tscWatch/
DresolutionCache.ts22 const originalFileExists = host.fileExists;
38 host.fileExists = notImplemented;
47 host.fileExists = (fileName): boolean => {
66 host.fileExists = (fileName): boolean => {
105 const originalFileExists = host.fileExists;
107 host.fileExists = fileName => {
163 const originalFileExists = host.fileExists;
165 host.fileExists = fileName => {
/third_party/node/lib/internal/modules/esm/
Dresolve.js181 function fileExists(url) { function
201 if (fileExists(guess = new URL(`./${packageConfig.main}`,
204 } else if (fileExists(guess = new URL(`./${packageConfig.main}.js`,
206 else if (fileExists(guess = new URL(`./${packageConfig.main}.json`,
208 else if (fileExists(guess = new URL(`./${packageConfig.main}.node`,
210 else if (fileExists(guess = new URL(`./${packageConfig.main}/index.js`,
212 else if (fileExists(guess = new URL(`./${packageConfig.main}/index.json`,
214 else if (fileExists(guess = new URL(`./${packageConfig.main}/index.node`,
224 if (fileExists(guess = new URL('./index.js', packageJSONUrl)));
226 else if (fileExists(guess = new URL('./index.json', packageJSONUrl)));
[all …]
/third_party/typescript/src/loggedIO/
DloggedIO.ts37 fileExists: { property
121 fileExists: [],
247 while (underlying.fileExists(ts.combinePaths(getBase(), "test.json"))) i++;
274 wrapper.fileExists = recordReplay(wrapper.fileExists, underlying)(
275 path => callAndRecord(underlying.fileExists(path), recordLog!.fileExists, { path }),
282 … return findResultByFields(replayLog!.fileExists, { path }, /*defaultValue*/ false)!;
/third_party/typescript/src/testRunner/unittests/services/
DlanguageService.ts42 fileExists: name => !!files[name],
96 fileExists: path => files.has(path), constant
182 fileExists: path => system.fileExists(path),
192 fileExists: path => system.fileExists(path),
/third_party/typescript/src/compiler/
DwatchUtilities.ts7 fileExists(path: string): boolean; method
21 fileExists: boolean; property
62 fileExists,
159 function fileExists(fileName: string): boolean { function
163 host.fileExists(fileName);
255 fileExists: host.fileExists(fileOrDirectoryPath),
264 updateFilesOfFileSystemEntry(parentResult, baseName, fsQueryResult.fileExists);
281 …ult: SortedAndCanonicalizedMutableFileSystemEntries, baseName: string, fileExists: boolean): void {
284 if (fileExists) {
DwatchPublic.ts91 fileExists(path: string): boolean; method
340 compilerHost.fileExists = fileExists;
458 …=> getSourceVersion(path, readFileWithCache), fileName => compilerHost.fileExists(fileName), hasIn…
480 compilerHost.fileExists = originalFileExists;
548 function fileExists(fileName: string) {
556 return directoryStructureHost.fileExists(fileName);
/third_party/typescript/tests/cases/compiler/
DAPISample_WatchWithOwnWatchHost.ts36 fileExists: ts.sys.fileExists,
DAPISample_WatchWithDefaults.ts23 const configPath = ts.findConfigFile(/*searchPath*/ "./", ts.sys.fileExists, "tsconfig.json");
/third_party/node/deps/npm/lib/commands/
Dcompletion.js43 const fileExists = (file) => fs.stat(file).then(s => s.isFile()).catch(() => false) function
58 fileExists(resolve(process.env.HOME, '.bashrc')),
59 fileExists(resolve(process.env.HOME, '.zshrc')),
/third_party/typescript/src/webServer/
DwebServer.ts11 fileExists(path: string): boolean; method
199 fileExists: path => {
201 return !!webPath && host.fileExists(webPath);
/third_party/typescript/src/testRunner/
Drunner.ts82 customConfig && IO.fileExists(customConfig)
84 : IO.fileExists(mytestconfigFileName)
86 : IO.fileExists(testconfigFileName) ? IO.readFile(testconfigFileName)! : "";
/third_party/typescript/src/typingsInstaller/
DnodeTypingsInstaller.ts38 if (host.fileExists(npmPath)) {
50 if (!host.fileExists(typesRegistryFilePath)) {
222 if (host.fileExists(combinePaths(directory, "package.json"))) {
/third_party/typescript/src/harness/
DfakesHosts.ts67 public fileExists(path: string) {
201 public fileExists(fileName: string): boolean {
202 return this.sys.fileExists(fileName);
272 public fileExists(fileName: string): boolean {
273 return this.sys.fileExists(fileName);
/third_party/node/deps/v8/third_party/test262-harness/src/
D_packager.py327 fileExists = os.path.exists(toFilename) variable
328 if fileExists:
332 if not fileExists:
/third_party/typescript/src/jsTyping/
DjsTyping.ts6 fileExists(fileName: string): boolean; method
226 if (host.fileExists(manifestPath)) {
296 if (host.fileExists(absolutePath)) {
/third_party/typescript/src/testRunner/unittests/
DmoduleResolution.ts63 fileExists: path => {
71 … return { readFile, realpath, fileExists: path => map.has(path), useCaseSensitiveFileNames: true };
518 fileExists: fileName => {
613 fileExists: fileName => {
1469 fileExists: notImplemented, constant
1573 fileExists: fileName => sourceFiles.has(fileName),
1612 fileExists: fileName => fileName === file.fileName,
1641 fileExists: fileName => fileName === file.fileName,
/third_party/typescript/src/testRunner/unittests/tsserver/
DcachingFileSystemInformation.ts4 fileExists = "fileExists", enumerator
16 fileExists: setCallsTrackingWithSingleArgFn(CalledMapsWithSingleArg.fileExists),
52 logCacheEntry(logger, CalledMapsWithSingleArg.fileExists);

1234