Skip to content

Commit 15fcea6

Browse files
committedJan 23, 2024
iOS (New Arch) verification & fixes for previous commits
1 parent 99e2f81 commit 15fcea6

File tree

3 files changed

+252
-273
lines changed

3 files changed

+252
-273
lines changed
 

‎README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ _When installing the library into a new project no additional steps are required
140140
[Media Scanner](https://developer.android.com/reference/android/media/MediaScannerConnection).
141141
- [stat()] — Returns info on a file system item.
142142
- [stopDownload()] — Aborts a file download job.
143+
- [touch()] — Alters creation and modification timestamps of the given file.
143144
- [unlink()] — Unlinks (removes) a file or directory with files.
144145
and return its contents.
145146
- [uploadFiles()] — Uploads files to a remote location.
@@ -447,7 +448,7 @@ least, on Android this constant does not have a slash in the end; but on iOS
447448
```ts
448449
function appendFile(filepath: string, contents: string, encoding?: string): Promise<void>;
449450
```
450-
**VERIFIED:** Android
451+
**VERIFIED:** Android, iOS (New Arch).
451452

452453
Appends content to a file.
453454
- `filepath` &mdash; **string** &mdash; File path.
@@ -613,7 +614,7 @@ Provides information about free and total file system space.
613614
```ts
614615
function hash(path: string, algorithm: string): Promise<string>;
615616
```
616-
**VERIFIED:** Android.
617+
**VERIFIED:** Android, iOS (New Arch).
617618

618619
Calculates file's hash.
619620
- `path` &mdash; **string** &mdash; File path.
@@ -855,7 +856,7 @@ It thus requires more troubleshooting, but it is not a priority for now.
855856
```ts
856857
function stopDownload(jobId: number): void;
857858
```
858-
**VERIFIED:** Android.
859+
**VERIFIED:** Android, iOS (New Arch).
859860

860861
Aborts a file download job. The partial file will remain on the filesystem,
861862
and the promise returned from the aborted [downloadFile()] call will reject
@@ -867,7 +868,7 @@ with an error.
867868
```ts
868869
function touch(filepath: string, mtime?: Date, ctime?: Date): Promise<void>;
869870
```
870-
**VERIFIED:** Android.
871+
**VERIFIED:** Android, iOS (New Arch).
871872

872873
Alters creation and modification timestamps of the given file.
873874
- `filepath` &mdash; **string** &mdash; File path.
@@ -917,7 +918,7 @@ in this library fork.
917918
```ts
918919
function write(filepath: string, contents: string, position?: number, encoding?: EncodingT): Promise<void>;
919920
```
920-
**VERIFIED:** Android.
921+
**VERIFIED:** Android, iOS (New Arch).
921922

922923
Writes content to a file at the given random access position.
923924

0 commit comments

Comments
 (0)
Please sign in to comment.