| /expo/apps/test-suite/tests/ |
| H A D | SMSCommon.js | 13 async function loadAndSaveFile(fileInfo, expect) { argument 14 await FS.deleteAsync(fileInfo.localUri, { idempotent: true }); 15 await assertExists(fileInfo, false, expect); 16 const { md5, headers } = await FS.downloadAsync(fileInfo.remoteUri, fileInfo.localUri, { 19 expect(md5).toBe(fileInfo.md5); 20 await assertExists(fileInfo, true, expect); 21 expect(headers['Content-Type'] || headers['content-type']).toBe(fileInfo.mimeType); 24 async function cleanupFile(fileInfo, expect) { argument 25 await FS.deleteAsync(fileInfo.localUri); 26 await assertExists(fileInfo, false, expect);
|
| H A D | SQLite.ts | 598 let fileInfo = await FS.getInfoAsync(`${FS.documentDirectory}SQLite/test.db`); 599 t.expect(fileInfo.exists).toBeTruthy(); 603 fileInfo = await FS.getInfoAsync(`${FS.documentDirectory}SQLite/test.db`); 604 t.expect(fileInfo.exists).toBeFalsy();
|
| /expo/apps/native-component-list/plugins/ |
| H A D | withNotFoundModule.js | 18 const fileInfo = IOSConfig.Paths.getAppDelegate(config.modRequest.projectRoot); constant 19 let contents = await fs.readFile(fileInfo.path, 'utf-8'); 20 if (fileInfo.language === 'objc') { 28 `Cannot append didNotFindModule method to AppDelegate of language "${fileInfo.language}"` 31 await fs.writeFile(fileInfo.path, contents);
|
| H A D | withDevMenu.js | 8 const fileInfo = IOSConfig.Paths.getAppDelegate(config.modRequest.projectRoot); constant 9 let contents = await fs.readFile(fileInfo.path, 'utf-8'); 10 if (fileInfo.language === 'objc') { 68 `Cannot append DevMenu module to AppDelegate of language "${fileInfo.language}"` 71 await fs.writeFile(fileInfo.path, contents);
|
| /expo/packages/expo-asset/src/ |
| H A D | PlatformUtils.ts | 62 const fileInfo = await FileSystem.getInfoAsync(localUri, { constant 65 if (!fileInfo.exists || (hash !== null && fileInfo.md5 !== hash)) {
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/jsi/jsi/ |
| H A D | ABI49_0_0jsilib-posix.cpp | 61 struct stat fileInfo; in size() local 62 if (::fstat(fd_, &fileInfo) == -1) { in size() 66 return fileInfo.st_size; in size()
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/jsi/jsi/ |
| H A D | ABI48_0_0jsilib-posix.cpp | 61 struct stat fileInfo; in size() local 62 if (::fstat(fd_, &fileInfo) == -1) { in size() 66 return fileInfo.st_size; in size()
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/jsi/jsi/ |
| H A D | ABI47_0_0jsilib-posix.cpp | 61 struct stat fileInfo; in size() local 62 if (::fstat(fd_, &fileInfo) == -1) { in size() 66 return fileInfo.st_size; in size()
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/cxxreact/ |
| H A D | ABI48_0_0JSBigString.cpp | 92 struct stat fileInfo; in fromPath() local 93 folly::checkUnixError(::fstat(fd, &fileInfo), "fstat on bundle failed."); in fromPath() 95 return std::make_unique<const JSBigFileString>(fd, fileInfo.st_size); in fromPath()
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/cxxreact/ |
| H A D | ABI47_0_0JSBigString.cpp | 92 struct stat fileInfo; in fromPath() local 93 folly::checkUnixError(::fstat(fd, &fileInfo), "fstat on bundle failed."); in fromPath() 95 return std::make_unique<const JSBigFileString>(fd, fileInfo.st_size); in fromPath()
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/cxxreact/ |
| H A D | ABI49_0_0JSBigString.cpp | 92 struct stat fileInfo; in fromPath() local 93 folly::checkUnixError(::fstat(fd, &fileInfo), "fstat on bundle failed."); in fromPath() 95 return std::make_unique<const JSBigFileString>(fd, fileInfo.st_size); in fromPath()
|
| /expo/packages/expo-asset/build/ |
| H A D | PlatformUtils.js | 48 const fileInfo = await FileSystem.getInfoAsync(localUri, { 51 if (!fileInfo.exists || (hash !== null && fileInfo.md5 !== hash)) {
|
| H A D | PlatformUtils.js.map | 1 …`;\n const fileInfo = await FileSystem.getInfoAsync(localUri, {\n md5: true,\n });\n if (!fi…
|
| /expo/docs/public/static/examples/v47.0.0/filesystem/ |
| H A D | gifManagement.ts | 43 const fileInfo = await FileSystem.getInfoAsync(fileUri); constant 45 if (!fileInfo.exists) {
|
| /expo/docs/public/static/examples/v46.0.0/filesystem/ |
| H A D | gifManagement.ts | 43 const fileInfo = await FileSystem.getInfoAsync(fileUri); constant 45 if (!fileInfo.exists) {
|
| /expo/docs/public/static/examples/unversioned/filesystem/ |
| H A D | gifManagement.ts | 43 const fileInfo = await FileSystem.getInfoAsync(fileUri); constant 45 if (!fileInfo.exists) {
|
| /expo/docs/public/static/examples/v49.0.0/filesystem/ |
| H A D | gifManagement.ts | 43 const fileInfo = await FileSystem.getInfoAsync(fileUri); constant 45 if (!fileInfo.exists) {
|
| /expo/docs/public/static/examples/v48.0.0/filesystem/ |
| H A D | gifManagement.ts | 43 const fileInfo = await FileSystem.getInfoAsync(fileUri); constant 45 if (!fileInfo.exists) {
|
| /expo/docs/pages/versions/unversioned/sdk/ |
| H A D | filesystem.mdx | 148 const fileInfo = await FileSystem.getInfoAsync(fileUri); 150 if (!fileInfo.exists) {
|
| /expo/docs/pages/versions/v49.0.0/sdk/ |
| H A D | filesystem.mdx | 148 const fileInfo = await FileSystem.getInfoAsync(fileUri); 150 if (!fileInfo.exists) {
|
| /expo/docs/pages/versions/v48.0.0/sdk/ |
| H A D | filesystem.mdx | 148 const fileInfo = await FileSystem.getInfoAsync(fileUri); 150 if (!fileInfo.exists) {
|
| /expo/docs/pages/versions/v47.0.0/sdk/ |
| H A D | filesystem.mdx | 149 const fileInfo = await FileSystem.getInfoAsync(fileUri); 151 if (!fileInfo.exists) {
|
| /expo/docs/pages/versions/v46.0.0/sdk/ |
| H A D | filesystem.mdx | 148 const fileInfo = await FileSystem.getInfoAsync(fileUri); 150 if (!fileInfo.exists) {
|