Home
last modified time | relevance | path

Searched refs:fileContent (Results 1 – 12 of 12) sorted by relevance

/expo/packages/expo-test-runner/src/
H A DTemplateEvaluator.ts8 const fileContent = await fs.readFile(path, 'utf-8'); constant
9 const templateFn = template(fileContent, {
/expo/tools/src/versioning/android/
H A Dutils.ts12 fileContent: string
14 const lines = fileContent.split(/\r?\n/);
H A Dindex.ts68 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 DgetDirFromFS.ts5 (acc, [path, fileContent]) => ({
9 : path.substring(rootDir.length)]: fileContent,
/expo/packages/@expo/config-plugins/src/ios/__tests__/utils/
H A DgetDirFromFS.ts5 (acc, [path, fileContent]) => ({
9 : path.substring(rootDir.length)]: fileContent,
/expo/packages/expo-test-runner/build/
H A DTemplateEvaluator.js34 const fileContent = await fs.readFile(path, 'utf-8');
35 const templateFn = (0, dot_1.template)(fileContent, {
H A DTemplateEvaluator.js.map1 …nc(path: string) {\n const fileContent = await fs.readFile(path, 'utf-8');\n const templateF…
/expo/packages/expo-modules-autolinking/src/platforms/
H A Dandroid.ts145 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 Dandroid.js115 …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 Dandroid.js.map1fileContent = await fs.readFile(path.join(sourceDir, file), 'utf8');\n\n const packageRegex…
/expo/packages/expo-notifications/plugin/src/__tests__/
H A DwithNotificationsAndroid-test.ts16 (acc, [path, fileContent]) => ({
20 : path.substring(rootDir.length)]: fileContent,
/expo/tools/src/generate-module/
H A DconfigureModule.ts329 await replaceContent(path.join(tsPath, 'ModuleTemplate.ts'), (fileContent) =>
330 fileContent.replace(/(^\s+)+(^.*?){1}ExpoModuleTemplateView.*$/m, '')