Searched refs:fileContent (Results 1 – 12 of 12) sorted by relevance
| /expo/packages/expo-test-runner/src/ |
| H A D | TemplateEvaluator.ts | 8 const fileContent = await fs.readFile(path, 'utf-8'); constant 9 const templateFn = template(fileContent, {
|
| /expo/tools/src/versioning/android/ |
| H A D | utils.ts | 12 fileContent: string 14 const lines = fileContent.split(/\r?\n/);
|
| H A D | index.ts | 68 const fileContent = await fs.readFile(filePath, 'utf8'); constant 69 await fs.writeFile(filePath, fileContent.replace(regexp, replacement)); 177 const fileContent = await fs.readFile(filePath, 'utf8'); constant 178 const fileLines = fileContent.split(/\r\n?|\n/g); 181 while ((match = pattern.exec(fileContent)) != null) { 183 const lineNumberWithMatch = fileContent.substring(0, index).split(/\r\n?|\n/g).length - 1;
|
| /expo/packages/@expo/prebuild-config/src/plugins/__tests__/ |
| H A D | getDirFromFS.ts | 5 (acc, [path, fileContent]) => ({ 9 : path.substring(rootDir.length)]: fileContent,
|
| /expo/packages/@expo/config-plugins/src/ios/__tests__/utils/ |
| H A D | getDirFromFS.ts | 5 (acc, [path, fileContent]) => ({ 9 : path.substring(rootDir.length)]: fileContent,
|
| /expo/packages/expo-test-runner/build/ |
| H A D | TemplateEvaluator.js | 34 const fileContent = await fs.readFile(path, 'utf-8'); 35 const templateFn = (0, dot_1.template)(fileContent, {
|
| H A D | TemplateEvaluator.js.map | 1 …nc(path: string) {\n const fileContent = await fs.readFile(path, 'utf-8');\n const templateF…
|
| /expo/packages/expo-modules-autolinking/src/platforms/ |
| H A D | android.ts | 145 const fileContent = await fs.readFile(path.join(sourceDir, file), 'utf8'); constant 156 if (!packageRegex.test(fileContent)) { 160 const classPathMatches = fileContent.match(/^package ([\w.]+)\b/m);
|
| /expo/packages/expo-modules-autolinking/build/platforms/ |
| H A D | android.js | 115 …const fileContent = await fs_extra_1.default.readFile(path_1.default.join(sourceDir, file), 'utf8'… 125 if (!packageRegex.test(fileContent)) { 128 const classPathMatches = fileContent.match(/^package ([\w.]+)\b/m);
|
| H A D | android.js.map | 1 …fileContent = await fs.readFile(path.join(sourceDir, file), 'utf8');\n\n const packageRegex…
|
| /expo/packages/expo-notifications/plugin/src/__tests__/ |
| H A D | withNotificationsAndroid-test.ts | 16 (acc, [path, fileContent]) => ({ 20 : path.substring(rootDir.length)]: fileContent,
|
| /expo/tools/src/generate-module/ |
| H A D | configureModule.ts | 329 await replaceContent(path.join(tsPath, 'ModuleTemplate.ts'), (fileContent) => 330 fileContent.replace(/(^\s+)+(^.*?){1}ExpoModuleTemplateView.*$/m, '')
|