Home
last modified time | relevance | path

Searched refs:copyAsync (Results 1 – 25 of 31) sorted by relevance

12

/expo/packages/@expo/cli/src/export/__tests__/
H A DsaveAssets-test.ts1 import { copyAsync } from '../../utils/dir';
7 copyAsync: jest.fn(),
26 expect(copyAsync).toBeCalledTimes(2);
27 expect(copyAsync).toHaveBeenNthCalledWith(
32 expect(copyAsync).toHaveBeenNthCalledWith(2, '/[email protected]', 'output/assets/hash-2');
/expo/packages/@expo/cli/src/customize/__tests__/
H A Dgenerate-test.ts4 import { copyAsync } from '../../utils/dir';
20 jest.mock('../../utils/dir', () => ({ copyAsync: jest.fn() }));
44 expect(copyAsync).not.toBeCalled();
55 expect(copyAsync).toBeCalledWith(
81 expect(copyAsync).not.toBeCalled();
102 expect(copyAsync).toBeCalledWith(
125 expect(copyAsync).toBeCalledWith(
/expo/packages/@expo/cli/src/export/
H A DsaveAssets.ts6 import { copyAsync } from '../utils/dir';
45 return copyAsync(pathName, path.join(outputDir, 'assets', key));
H A DexportApp.ts22 import { copyAsync, ensureDirectoryAsync } from '../utils/dir';
228 await copyAsync(publicFolder, outputFolder);
/expo/packages/expo-file-system/build/
H A DFileSystem.d.ts73 export declare function copyAsync(options: RelocatingOptions): Promise<void>;
359 const copyAsync: typeof import("./FileSystem").copyAsync;
H A DFileSystem.js129 export async function copyAsync(options) { function
130 if (!ExponentFileSystem.copyAsync) {
133 return await ExponentFileSystem.copyAsync(options);
448 const baseCopyAsync = copyAsync;
614 StorageAccessFramework.copyAsync = baseCopyAsync;
H A Dtypes.d.ts13 readonly copyAsync?: PlatformMethod; property
H A Dtypes.js.map1 …c?: PlatformMethod;\n readonly moveAsync?: PlatformMethod;\n readonly copyAsync?: PlatformMethod…
H A DFileSystem.js.map1copyAsync(options: RelocatingOptions): Promise<void> {\n if (!ExponentFileSystem.copyAsync) {\n …
/expo/packages/expo-file-system/src/
H A DFileSystem.ts172 export async function copyAsync(options: RelocatingOptions): Promise<void> { function
173 if (!ExponentFileSystem.copyAsync) {
176 return await ExponentFileSystem.copyAsync(options);
573 const baseCopyAsync = copyAsync;
755 export const copyAsync = baseCopyAsync; constant
H A Dtypes.ts14 readonly copyAsync?: PlatformMethod; property
/expo/packages/@expo/cli/src/customize/
H A Dgenerate.ts7 import { copyAsync } from '../utils/dir';
101 return copyAsync(template.file(projectRoot), projectFilePath, {
/expo/packages/@expo/cli/src/utils/
H A Ddir.ts25 export const copyAsync = fs.copy; constant
/expo/apps/test-suite/tests/
H A DFileSystem.js34 await throws(() => FS.copyAsync({ from: p + '../a/b', to: 'c' }));
35 await throws(() => FS.copyAsync({ from: 'c', to: p + '../a/b' }));
191 await FS.copyAsync({ from, to });
399 await throws(() => FS.copyAsync({ from: p }));
400 await throws(() => FS.copyAsync({ to: p }));
/expo/apps/native-component-list/src/screens/
H A DSharingScreen.tsx35 await FileSystem.copyAsync({ from: asset.localUri!, to: tmpFile });
H A DFileSystemScreen.tsx226 await FileSystem.copyAsync({ from: asset.localUri!, to: tmpFile });
292 await StorageAccessFramework.copyAsync({
/expo/packages/jest-expo/src/preset/
H A Dsetup.js116 copyAsync: jest.fn(() => Promise.resolve()), property
/expo/docs/pages/versions/unversioned/sdk/
H A Dfilesystem.mdx229 …annot use `FileSystem.readAsStringAsync()`, but you can use `FileSystem.copyAsync()` which support…
238 | `copyAsync` | Source:<br/>`file:///`,<br/>`content://`,<br/>`asset://`,<br/>[SAF UR…
/expo/docs/pages/versions/v49.0.0/sdk/
H A Dfilesystem.mdx229 …annot use `FileSystem.readAsStringAsync()`, but you can use `FileSystem.copyAsync()` which support…
238 | `copyAsync` | Source:<br/>`file:///`,<br/>`content://`,<br/>`asset://`,<br/>[SAF UR…
/expo/docs/pages/versions/v48.0.0/sdk/
H A Dfilesystem.mdx229 …annot use `FileSystem.readAsStringAsync()`, but you can use `FileSystem.copyAsync()` which support…
238 | `copyAsync` | Source:<br/>`file:///`,<br/>`content://`,<br/>`asset://`,<br/>[SAF UR…
/expo/docs/pages/versions/v47.0.0/sdk/
H A Dfilesystem.mdx242 …annot use `FileSystem.readAsStringAsync()`, but you can use `FileSystem.copyAsync()` which support…
251 | `copyAsync` | Source:<br/>`file:///`,<br/>`content://`,<br/>`asset://`,<br/>[SAF UR…
/expo/packages/expo-file-system/
H A DCHANGELOG.md40 - Fix regression in `copyAsync` on Android. ([#23892](https://github.com/expo/expo/pull/23892) by […
309 …leSystem.getInfoAsync`, `FileSystem.readAsStringAsync`, and `FileSystem.copyAsync`. ([#8104](https…
/expo/docs/pages/versions/v46.0.0/sdk/
H A Dfilesystem.mdx345 ### `FileSystem.copyAsync(options)`
814 ### `StorageAccessFramework.copyAsync(options)`
816 Alias to [FileSystem.copyAsync(options)](#filesystemcopyasyncoptions)
822 …annot use `FileSystem.readAsStringAsync()`, but you can use `FileSystem.copyAsync()` which support…
831 | `copyAsync` | Source:<br/>`file:///`,<br/>`content://`,<br/>`asset://`,<br/>[SAF UR…
/expo/packages/expo-camera/src/
H A DCamera.tsx245 …* > On native platforms, the local image URI is temporary. Use [`FileSystem.copyAsync`](filesystem…
/expo/packages/expo-file-system/ios/
H A DEXFileSystem.m429 EX_EXPORT_METHOD_AS(copyAsync, category

12