Home
last modified time | relevance | path

Searched refs:exists (Results 1 – 25 of 385) sorted by relevance

12345678910>>...16

/expo/apps/test-suite/tests/
H A DFileSystem.js56 expect(exists).toBeTruthy();
58 expect(exists).not.toBeTruthy();
148 expect(exists).not.toBeTruthy();
174 expect(exists).not.toBeTruthy();
194 expect(exists).toBeTruthy();
295 expect(info.exists).toBe(true);
414 expect(exists).toBeTruthy();
416 expect(exists).not.toBeTruthy();
443 expect(exists).toBeTruthy();
445 expect(exists).not.toBeTruthy();
[all …]
H A DSMSCommon.js5 const { exists } = await FS.getInfoAsync(testFile.localUri);
7 expect(exists).toBeTruthy();
9 expect(exists).not.toBeTruthy();
H A DAsset.js54 exists,
62 t.expect(exists).toBeTruthy();
H A DSQLite.ts69 const { exists } = await FS.getInfoAsync(`${FS.documentDirectory}SQLite/test.db`); constant
70 t.expect(exists).toBeTruthy();
179 const { exists } = await FS.getInfoAsync(`${FS.documentDirectory}SQLite/test.db`); constant
180 t.expect(exists).toBeTruthy();
185 const { exists } = await FS.getInfoAsync(`${FS.documentDirectory}SQLite/test.db`); constant
186 t.expect(exists).toBeFalsy();
281 const { exists } = await FS.getInfoAsync(`${FS.documentDirectory}SQLite/test.db`); constant
282 t.expect(exists).toBeTruthy();
599 t.expect(fileInfo.exists).toBeTruthy();
604 t.expect(fileInfo.exists).toBeFalsy();
/expo/android/expoview/src/main/java/host/exp/exponent/utils/
H A DScopedContext.kt45 if (!newLocation.exists()) { in migrateFilesRecursively()
49 } else if (!newLocation.exists()) { in migrateFilesRecursively()
138 if (!file.exists()) { in ensureDirExists()
164 if (scopedFilesDir.exists() && !scopedFilesMigrationMarker.exists()) {
/expo/docs/public/static/examples/v47.0.0/filesystem/
H A DgifManagement.ts15 if (!dirInfo.exists) {
45 if (!fileInfo.exists) {
/expo/docs/public/static/examples/v46.0.0/filesystem/
H A DgifManagement.ts15 if (!dirInfo.exists) {
45 if (!fileInfo.exists) {
/expo/docs/public/static/examples/unversioned/filesystem/
H A DgifManagement.ts15 if (!dirInfo.exists) {
45 if (!fileInfo.exists) {
/expo/docs/public/static/examples/v49.0.0/filesystem/
H A DgifManagement.ts15 if (!dirInfo.exists) {
45 if (!fileInfo.exists) {
/expo/docs/public/static/examples/v48.0.0/filesystem/
H A DgifManagement.ts15 if (!dirInfo.exists) {
45 if (!fileInfo.exists) {
/expo/packages/expo-modules-core/android/src/main/java/expo/modules/core/logging/
H A DPersistentFileLog.kt101 if (!fd.exists()) { in <lambda>()
111 if (!file.exists()) { in <lambda>()
136 if (fd.exists()) { in <lambda>()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/core/logging/
H A DPersistentFileLog.kt99 if (!fd.exists()) { in <lambda>()
109 if (!file.exists()) { in <lambda>()
134 if (fd.exists()) { in <lambda>()
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/core/logging/
H A DPersistentFileLog.kt99 if (!fd.exists()) { in <lambda>()
109 if (!file.exists()) { in <lambda>()
134 if (fd.exists()) { in <lambda>()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/core/logging/
H A DPersistentFileLog.kt99 if (!fd.exists()) { in <lambda>()
109 if (!file.exists()) { in <lambda>()
134 if (fd.exists()) { in <lambda>()
/expo/packages/expo-file-system/build/
H A DFileSystem.types.d.ts181 exists: true;
207 exists: false;
/expo/packages/expo-file-system/src/
H A DFileSystem.types.ts202 exists: true;
228 exists: false;
/expo/ios/versioned/sdk49/EXUpdates/EXUpdates/AppLauncher/
H A DAppLauncherWithDatabase.swift225 ensureAssetExists(asset: asset, withLocalUrl: assetLocalUrl) { exists in in ensureAllAssetsExist()
229 if exists { in ensureAllAssetsExist()
250 checkExistence(ofAsset: asset, withLocalUrl: assetLocalUrl) { exists in
251 if exists {
294 let exists = FileManager.default.fileExists(atPath: assetLocalUrl.path) variable
296 completion(exists)
/expo/packages/expo-updates/ios/EXUpdates/AppLauncher/
H A DAppLauncherWithDatabase.swift225 ensureAssetExists(asset: asset, withLocalUrl: assetLocalUrl) { exists in in ensureAllAssetsExist()
229 if exists { in ensureAllAssetsExist()
250 checkExistence(ofAsset: asset, withLocalUrl: assetLocalUrl) { exists in
251 if exists {
294 let exists = FileManager.default.fileExists(atPath: assetLocalUrl.path) variable
296 completion(exists)
/expo/ios/versioned/sdk47/EXFileSystem/EXFileSystem/
H A DABI47_0_0EXFileSystemLocalFileHandler.m16 result[@"exists"] = @(YES);
26 resolve(@{@"exists": @(NO), @"isDirectory": @(NO)});
62 …SString stringWithFormat:@"File '%@' could not be copied to '%@' because a file already exists at "
/expo/ios/versioned/sdk48/EXFileSystem/EXFileSystem/
H A DABI48_0_0EXFileSystemLocalFileHandler.m16 result[@"exists"] = @(YES);
26 resolve(@{@"exists": @(NO), @"isDirectory": @(NO)});
62 …SString stringWithFormat:@"File '%@' could not be copied to '%@' because a file already exists at "
/expo/packages/expo-asset/src/__tests__/
H A DAsset-test.ts134 FileSystem.getInfoAsync.mockReturnValueOnce({ exists: false });
155 FileSystem.getInfoAsync.mockReturnValueOnce({ exists: false });
181 exists: true,
195 FileSystem.getInfoAsync.mockReturnValue({ exists: false });
/expo/packages/expo-file-system/ios/
H A DEXFileSystemLocalFileHandler.m17 result[@"exists"] = @(YES);
27 resolve(@{@"exists": @(NO), @"isDirectory": @(NO)});
63 …SString stringWithFormat:@"File '%@' could not be copied to '%@' because a file already exists at "
/expo/ios/versioned/sdk49/EXFileSystem/EXFileSystem/
H A DABI49_0_0EXFileSystemLocalFileHandler.m17 result[@"exists"] = @(YES);
27 resolve(@{@"exists": @(NO), @"isDirectory": @(NO)});
63 …SString stringWithFormat:@"File '%@' could not be copied to '%@' because a file already exists at "
/expo/packages/@expo/cli/src/customize/
H A Dtemplates.ts105 const exists = fs.existsSync(localProjectFile); constant
110 description: exists ? chalk.red('This will overwrite the existing file') : undefined,
/expo/packages/expo-dev-launcher/android/src/testDebug/java/expo/modules/devlauncher/launcher/loaders/
H A DDevLauncherAppLoaderFactoryTest.kt67 …fun `loads app locally if manifest indicates developer tool and no updatesInterface exists`() = ru… in <lambda>()
81 fun `throws if manifest is published and no updatesInterface exists`() { in throws if manifest is published and no updatesInterface exists()
95 …fun `loads app locally if manifest indicates developer tool and updatesInterface exists`() = runBl… in <lambda>()
110 …fun `loads published app if manifest is published and updatesInterface exists`() = runBlocking<Uni… in <lambda>()

12345678910>>...16