Home
last modified time | relevance | path

Searched refs:existsSync (Results 1 – 25 of 274) sorted by relevance

1234567891011

/third_party/node/deps/npm/test/tap/
Duninstall-link-clean.js3 var existsSync = fs.existsSync || path.existsSync variable
73 existsSync(path.join(modules, 'package', 'package.json')),
76 t.ok(existsSync(path.join(modules, '.bin')), 'binary link directory exists')
77 t.ok(existsSync(path.join(modules, 'package', 'node_modules', '.bin')),
96 t.notOk(existsSync(path.join(modules, 'package')),
98 t.notOk(existsSync(path.join(modules, 'package', 'node_modules', '.bin')),
Dinstall-cli-only-shrinkwrap.js3 var existsSync = fs.existsSync || path.existsSync variable
88 existsSync(
94 existsSync(path.resolve(pkg, 'node_modules/dependency/package.json')),
108 existsSync(
114 existsSync(path.resolve(pkg, 'node_modules/dev-dependency/package.json')),
Dinstall-scoped-link.js4 var existsSync = fs.existsSync || path.existsSync variable
56 existsSync(path.join(modules, '@scoped', 'package', 'package.json')),
59 t.ok(existsSync(path.join(modules, '.bin')), 'binary link directory exists')
62 t.ok(existsSync(hello), 'binary link exists')
Ddedupe.js3 var existsSync = fs.existsSync || path.existsSync variable
79 t.ok(existsSync(path.join(pkg, 'node_modules', 'minimist')), 'minimist module exists')
81 existsSync(path.join(pkg, 'node_modules', 'clean', 'node_modules', 'minimist')),
85 existsSync(path.join(pkg, 'node_modules', 'optimist', 'node_modules', 'minimist')),
Dfalse-name.js12 var existsSync = fs.existsSync || path.existsSync variable
56 existsSync(path.join(pkg, 'node_modules', 'test-package-with-one-dep')),
60 existsSync(path.join(pkg, 'node_modules', 'test-package')),
Dinstall-windows-newlines.js3 var existsSync = fs.existsSync || path.existsSync variable
59 existsSync(path.resolve(pkg, 'node_modules/.bin/hashbang')),
63 existsSync(path.resolve(pkg, 'node_modules/.bin/nohashbang')),
Dcircular-dep.js3 var existsSync = fs.existsSync || path.existsSync variable
60 t.ok(existsSync(path.resolve(
64 t.ok(existsSync(path.resolve(
Dinstall-scoped-already-installed.js3 var existsSync = fs.existsSync || path.existsSync variable
72 existsSync(path.join(modules, '@scoped', 'package-scoped-dependency', 'package.json')),
98 existsSync(path.join(modules, '@scoped', 'package-scoped-dependency', 'package.json')),
Dinstall-cli-only-development.js3 var existsSync = fs.existsSync || path.existsSync variable
72 existsSync(path.resolve(pkg, 'node_modules/dependency/package.json')),
90 existsSync(path.resolve(pkg, 'node_modules/dependency/package.json')),
Dinstall-cli-only-production.js3 var existsSync = fs.existsSync || path.existsSync variable
76 existsSync(path.resolve(pkg, 'node_modules/dev-dependency/package.json')),
Dinstall-cli-production.js3 var existsSync = fs.existsSync || path.existsSync variable
74 existsSync(path.resolve(pkg, 'node_modules/dev-dependency/package.json')),
Dlifecycle-order.js30 t.ok(fs.existsSync(path.join(pkg, 'preinstall-step')), 'preinstall ok')
31 t.ok(fs.existsSync(path.join(pkg, 'install-step')), 'install ok')
32 t.ok(fs.existsSync(path.join(pkg, 'postinstall-step')), 'postinstall ok')
/third_party/node/test/parallel/
Dtest-fs-mkdir.js42 assert.strictEqual(fs.existsSync(pathname), true);
52 assert.strictEqual(fs.existsSync(pathname), true);
62 assert.strictEqual(fs.existsSync(pathname), true);
72 assert.strictEqual(fs.existsSync(pathname), true);
81 const exists = fs.existsSync(pathname);
110 const exists = fs.existsSync(pathname);
123 const exists = fs.existsSync(pathname);
132 const exists = fs.existsSync(pathname);
181 assert.strictEqual(fs.existsSync(pathname), true);
209 assert.strictEqual(fs.existsSync(pathname), false);
[all …]
Dtest-fs-exists.js50 assert(fs.existsSync(f));
51 assert(!fs.existsSync(`${f}-NO`));
54 assert(!fs.existsSync());
55 assert(!fs.existsSync({}));
56 assert(!fs.existsSync(new URL('https://foo')));
Dtest-fs-symlink-dir-junction.js45 assert(!fs.existsSync(linkPath));
46 assert(fs.existsSync(linkData));
58 assert(!fs.existsSync(linkPath));
61 assert(!fs.existsSync(linkPath));
Dtest-fs-mkdir-rmdir.js13 assert(!fs.existsSync(d));
17 assert(fs.existsSync(d));
25 assert(!fs.existsSync(d));
Dtest-fs-mkdtemp.js14 assert(fs.existsSync(tmpFolder));
19 assert(fs.existsSync(utf8));
23 assert(fs.existsSync(folder));
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/build_system/targets/
Dwindows_test.dart60 expect(fs.file(r'C:\windows\flutter\flutter_export.h').existsSync(), true);
61 expect(fs.file(r'C:\windows\flutter\flutter_messenger.h').existsSync(), true);
62 expect(fs.file(r'C:\windows\flutter\flutter_windows.dll').existsSync(), true);
63 expect(fs.file(r'C:\windows\flutter\flutter_windows.dll.exp').existsSync(), true);
64 expect(fs.file(r'C:\windows\flutter\flutter_windows.dll.lib').existsSync(), true);
65 expect(fs.file(r'C:\windows\flutter\flutter_windows.dll.pdb').existsSync(), true);
66 expect(fs.file(r'C:\windows\flutter\flutter_export.h').existsSync(), true);
67 expect(fs.file(r'C:\windows\flutter\flutter_messenger.h').existsSync(), true);
68 expect(fs.file(r'C:\windows\flutter\flutter_plugin_registrar.h').existsSync(), true);
69 expect(fs.file(r'C:\windows\flutter\flutter_glfw.h').existsSync(), true);
[all …]
Dassets_test.dart44 ….path.join(environment.buildDir.path, 'flutter_assets', 'AssetManifest.json')).existsSync(), true);
45 …s.path.join(environment.buildDir.path, 'flutter_assets', 'FontManifest.json')).existsSync(), true);
46 …expect(fs.file(fs.path.join(environment.buildDir.path, 'flutter_assets', 'LICENSE')).existsSync(),…
48 ….path.join(environment.buildDir.path, 'flutter_assets', 'assets/foo/bar.png')).existsSync(), true);
54 ….path.join(environment.buildDir.path, 'flutter_assets', 'assets/foo/bar.png')).existsSync(), true);
66 …path.join(environment.buildDir.path, 'flutter_assets', 'assets/foo/bar.png')).existsSync(), false);
77 expect(fs.file('.flutter-plugins').existsSync(), true);
Dlinux_test.dart54 expect(fs.file('linux/flutter/libflutter_linux.so').existsSync(), true);
55 expect(fs.file('linux/flutter/flutter_export.h').existsSync(), true);
56 expect(fs.file('linux/flutter/flutter_messenger.h').existsSync(), true);
57 expect(fs.file('linux/flutter/flutter_plugin_registrar.h').existsSync(), true);
58 expect(fs.file('linux/flutter/flutter_glfw.h').existsSync(), true);
59 expect(fs.file('linux/flutter/icudtl.dat').existsSync(), true);
60 expect(fs.file('linux/flutter/cpp_client_wrapper/foo').existsSync(), true);
/third_party/flutter/flutter/packages/flutter_tools/lib/src/
Dproject.dart168 bool get hasExampleApp => _exampleDirectory(directory).existsSync();
195 if (!directory.existsSync() || hasExampleApp) {
199 if ((android.existsSync() && checkProjects) || !checkProjects) {
202 if ((ios.existsSync() && checkProjects) || !checkProjects) {
207 if (featureFlags.isMacOSEnabled && macos.existsSync()) {
210 if (featureFlags.isWebEnabled && web.existsSync()) {
218 if (!pubspecFile.existsSync()) {
244 bool existsSync();
300 if (!isModule || _editableDirectory.existsSync())
320 bool get exists => hostAppRoot.existsSync();
[all …]
/third_party/weex-loader/deps/weex-scripter/lib/
Drequire-parse.js4 var existsSync = fs.existsSync || path.existsSync variable
48 if (existsSync(aPath)) {
/third_party/node/deps/npm/node_modules/global-dirs/
Dindex.js45 if (fs.existsSync(prefix)) {
62 if (fs.existsSync(prefix)) {
68 if (fs.existsSync(configPrefix)) {
73 if (fs.existsSync(homePrefix)) {
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/commands/
Dbuild_fuchsia_test.dart143 expect(fs.file(farPath).existsSync(), isTrue);
163 if (!fs.directory(buildPath).existsSync()) {
175 if (!fs.file(fs.path.join(buildPath, 'meta', 'package')).existsSync()) {
185 if (!fs.file(fs.path.join(buildPath, 'meta', 'package')).existsSync() ||
186 !fs.file(keyPath).existsSync() ||
187 !fs.file(manifestPath).existsSync()) {
197 if (!fs.file(fs.path.join(buildPath, 'meta', 'package')).existsSync() ||
198 !fs.file(keyPath).existsSync() ||
199 !fs.file(manifestPath).existsSync()) {
/third_party/node/test/pummel/
Dtest-fs-watch-file-slow.js46 assert.strictEqual(fs.existsSync(FILENAME), false);
50 assert.strictEqual(fs.existsSync(FILENAME), true);
53 assert.strictEqual(fs.existsSync(FILENAME), false);

1234567891011