Home
last modified time | relevance | path

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

123

/expo/packages/create-expo/e2e/__tests__/
H A Dindex-test.ts29 function fileExists(projectName: string, filePath: string) { function
68 expect(fileExists(projectName, 'App.js')).toBeTruthy();
69 expect(fileExists(projectName, '.gitignore')).toBeTruthy();
71 expect(fileExists(projectName, 'ios/')).not.toBeTruthy();
73 expect(fileExists(projectName, 'app.json')).toBeTruthy();
99 expect(fileExists(projectName, 'App.js')).toBeTruthy();
116 expect(fileExists(projectName, 'App.js')).toBeTruthy();
222 expect(fileExists(projectName, 'App.js')).toBeTruthy();
244 expect(fileExists(projectName, 'App.js')).toBeTruthy();
269 expect(fileExists(projectName, 'App.js')).toBeTruthy();
[all …]
/expo/packages/@expo/config-plugins/build/utils/
H A Dmodules.js7 exports.fileExists = fileExists;
37 function fileExists(file) { function
H A Dmodules.d.ts3 export declare function fileExists(file: string): boolean;
H A Dmodules.js.map1fileExists","statSync"],"sources":["../../src/utils/modules.ts"],"sourcesContent":["import fs from…
/expo/ios/versioned/sdk49/EXUpdates/EXUpdates/Database/
H A DUpdatesDatabaseInitialization.swift99 var shouldInitializeDatabaseSchema = !FileManager.default.fileExists(atPath: dbUrl.path)
103 if FileManager.default.fileExists(atPath: dbUrl.path) {
170 if FileManager.default.fileExists(atPath: latestURL.path) { in migrateDatabase()
179 if FileManager.default.fileExists(atPath: possibleURL.path) { in migrateDatabase()
H A DUpdatesReaper.swift73 if FileManager.default.fileExists(atPath: localUrl.path) {
91 if FileManager.default.fileExists(atPath: localUrl.path) {
H A DUpdatesDatabaseIntegrityCheck.swift38 …return FileManager.default.fileExists(atPath: directory.appendingPathComponent(asset.filename).pat… in assetExists()
/expo/packages/expo-updates/ios/EXUpdates/Database/
H A DUpdatesDatabaseInitialization.swift99 var shouldInitializeDatabaseSchema = !FileManager.default.fileExists(atPath: dbUrl.path)
103 if FileManager.default.fileExists(atPath: dbUrl.path) {
170 if FileManager.default.fileExists(atPath: latestURL.path) { in migrateDatabase()
179 if FileManager.default.fileExists(atPath: possibleURL.path) { in migrateDatabase()
H A DUpdatesReaper.swift73 if FileManager.default.fileExists(atPath: localUrl.path) {
91 if FileManager.default.fileExists(atPath: localUrl.path) {
H A DUpdatesDatabaseIntegrityCheck.swift38 …return FileManager.default.fileExists(atPath: directory.appendingPathComponent(asset.filename).pat… in assetExists()
/expo/packages/expo-dev-launcher/ios/
H A DEXDevLauncherInstallationIDHelper.swift29 if FileManager.default.fileExists(atPath: installationIDFileURL.path) { in getInstallationID()
61 if !FileManager.default.fileExists(atPath: applicationSupportURL.path) { in getInstallationIDFileURL()
/expo/packages/expo-file-system/ios/
H A DFileSystemHelpers.swift8 if !FileManager.default.fileExists(atPath: directoryPath.path) { in ensureFileDirectoryExists()
38 if FileManager.default.fileExists(atPath: path) { in removeFile()
/expo/ios/versioned/sdk49/ExpoSQLite/
H A DSQLiteModule.swift43 if !FileManager.default.fileExists(atPath: path.absoluteString) { in definition()
78 let fileExists = FileManager.default.fileExists(atPath: path.absoluteString) in openDatabase() variable
80 if fileExists { in openDatabase()
/expo/packages/@expo/config-plugins/src/utils/
H A Dmodules.ts24 export function fileExists(file: string): boolean { function
H A Dplugin-resolver.ts7 import { fileExists } from './modules';
65 if (pluginModuleFile && fileExists(pluginModuleFile)) {
/expo/packages/expo-sqlite/ios/
H A DSQLiteModule.swift55 if !FileManager.default.fileExists(atPath: path.absoluteString) { in definition()
99 let fileExists = FileManager.default.fileExists(atPath: path.absoluteString) in openDatabase() variable
101 if fileExists { in openDatabase()
/expo/packages/expo-modules-core/ios/Swift/Logging/
H A DPersistentFileLog.swift98 if !FileManager.default.fileExists(atPath: filePath) { in ensureFileExists()
136 if FileManager.default.fileExists(atPath: filePath) { in deleteFileSync()
/expo/ios/versioned/sdk48/ExpoModulesCore/ios/Swift/Logging/
H A DPersistentFileLog.swift98 if !FileManager.default.fileExists(atPath: filePath) { in ensureFileExists()
136 if FileManager.default.fileExists(atPath: filePath) { in deleteFileSync()
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/Logging/
H A DPersistentFileLog.swift98 if !FileManager.default.fileExists(atPath: filePath) { in ensureFileExists()
136 if FileManager.default.fileExists(atPath: filePath) { in deleteFileSync()
/expo/ios/versioned/sdk47/ExpoModulesCore/ios/Swift/Logging/
H A DPersistentFileLog.swift98 if !FileManager.default.fileExists(atPath: filePath) { in ensureFileExists()
136 if FileManager.default.fileExists(atPath: filePath) { in deleteFileSync()
/expo/packages/expo-device/ios/
H A DUIDevice.swift197 for path in suspiciousAppsPathToCheck where FileManager.default.fileExists(atPath: path) { in doesContainSuspiciousApps()
204 for path in suspiciousSystemPathsToCheck where FileManager.default.fileExists(atPath: path) { in doesSuspiciousSystemPathExist()
/expo/ios/versioned/sdk48/ExpoDevice/
H A DUIDevice.swift201 for path in suspiciousAppsPathToCheck where FileManager.default.fileExists(atPath: path) { in doesContainSuspiciousApps()
208 for path in suspiciousSystemPathsToCheck where FileManager.default.fileExists(atPath: path) { in doesSuspiciousSystemPathExist()
/expo/ios/versioned/sdk49/ExpoDevice/
H A DUIDevice.swift201 for path in suspiciousAppsPathToCheck where FileManager.default.fileExists(atPath: path) { in doesContainSuspiciousApps()
208 for path in suspiciousSystemPathsToCheck where FileManager.default.fileExists(atPath: path) { in doesSuspiciousSystemPathExist()
/expo/packages/create-expo/src/utils/
H A Dnpm.ts274 const fileExists = await fileExistsAsync(cacheFilename); constant
277 if (disableCache || !fileExists) {
/expo/packages/@expo/config-plugins/src/plugins/
H A DwithIosBaseMods.ts15 import { fileExists } from '../utils/modules';
140 if (fileExists(infoPlistPath)) {

123