Home
last modified time | relevance | path

Searched refs:fileInfo (Results 1 – 23 of 23) sorted by relevance

/expo/apps/test-suite/tests/
H A DSMSCommon.js13 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 DSQLite.ts598 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 DwithNotFoundModule.js18 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 DwithDevMenu.js8 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 DPlatformUtils.ts62 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 DABI49_0_0jsilib-posix.cpp61 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 DABI48_0_0jsilib-posix.cpp61 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 DABI47_0_0jsilib-posix.cpp61 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 DABI48_0_0JSBigString.cpp92 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 DABI47_0_0JSBigString.cpp92 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 DABI49_0_0JSBigString.cpp92 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 DPlatformUtils.js48 const fileInfo = await FileSystem.getInfoAsync(localUri, {
51 if (!fileInfo.exists || (hash !== null && fileInfo.md5 !== hash)) {
H A DPlatformUtils.js.map1 …`;\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 DgifManagement.ts43 const fileInfo = await FileSystem.getInfoAsync(fileUri); constant
45 if (!fileInfo.exists) {
/expo/docs/public/static/examples/v46.0.0/filesystem/
H A DgifManagement.ts43 const fileInfo = await FileSystem.getInfoAsync(fileUri); constant
45 if (!fileInfo.exists) {
/expo/docs/public/static/examples/unversioned/filesystem/
H A DgifManagement.ts43 const fileInfo = await FileSystem.getInfoAsync(fileUri); constant
45 if (!fileInfo.exists) {
/expo/docs/public/static/examples/v49.0.0/filesystem/
H A DgifManagement.ts43 const fileInfo = await FileSystem.getInfoAsync(fileUri); constant
45 if (!fileInfo.exists) {
/expo/docs/public/static/examples/v48.0.0/filesystem/
H A DgifManagement.ts43 const fileInfo = await FileSystem.getInfoAsync(fileUri); constant
45 if (!fileInfo.exists) {
/expo/docs/pages/versions/unversioned/sdk/
H A Dfilesystem.mdx148 const fileInfo = await FileSystem.getInfoAsync(fileUri);
150 if (!fileInfo.exists) {
/expo/docs/pages/versions/v49.0.0/sdk/
H A Dfilesystem.mdx148 const fileInfo = await FileSystem.getInfoAsync(fileUri);
150 if (!fileInfo.exists) {
/expo/docs/pages/versions/v48.0.0/sdk/
H A Dfilesystem.mdx148 const fileInfo = await FileSystem.getInfoAsync(fileUri);
150 if (!fileInfo.exists) {
/expo/docs/pages/versions/v47.0.0/sdk/
H A Dfilesystem.mdx149 const fileInfo = await FileSystem.getInfoAsync(fileUri);
151 if (!fileInfo.exists) {
/expo/docs/pages/versions/v46.0.0/sdk/
H A Dfilesystem.mdx148 const fileInfo = await FileSystem.getInfoAsync(fileUri);
150 if (!fileInfo.exists) {