@@ -140,6 +140,7 @@ _When installing the library into a new project no additional steps are required
140
140
[ Media Scanner] ( https://developer.android.com/reference/android/media/MediaScannerConnection ) .
141
141
- [ stat()] &mdash ; Returns info on a file system item.
142
142
- [ stopDownload()] &mdash ; Aborts a file download job.
143
+ - [ touch()] &mdash ; Alters creation and modification timestamps of the given file.
143
144
- [ unlink()] &mdash ; Unlinks (removes) a file or directory with files.
144
145
and return its contents.
145
146
- [ uploadFiles()] &mdash ; 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
447
448
``` ts
448
449
function appendFile(filepath : string , contents : string , encoding ? : string ): Promise <void >;
449
450
```
450
- ** VERIFIED:** Android
451
+ ** VERIFIED:** Android, iOS (New Arch).
451
452
452
453
Appends content to a file.
453
454
- ` filepath ` &mdash ; ** string** &mdash ; File path.
@@ -613,7 +614,7 @@ Provides information about free and total file system space.
613
614
` ` ` ts
614
615
function hash(path: string, algorithm: string): Promise<string>;
615
616
` ` `
616
- ** VERIFIED :** Android .
617
+ ** VERIFIED :** Android , iOS ( New Arch ) .
617
618
618
619
Calculates file ' s hash.
619
620
- ` path ` & mdash ; ** string ** & mdash ; File path .
@@ -855,7 +856,7 @@ It thus requires more troubleshooting, but it is not a priority for now.
855
856
` ` ` ts
856
857
function stopDownload(jobId: number): void;
857
858
` ` `
858
- ** VERIFIED :** Android .
859
+ ** VERIFIED :** Android , iOS ( New Arch ) .
859
860
860
861
Aborts a file download job . The partial file will remain on the filesystem ,
861
862
and the promise returned from the aborted [downloadFile ()] call will reject
@@ -867,7 +868,7 @@ with an error.
867
868
` ` ` ts
868
869
function touch(filepath: string, mtime?: Date, ctime?: Date): Promise<void>;
869
870
` ` `
870
- ** VERIFIED :** Android .
871
+ ** VERIFIED :** Android , iOS ( New Arch ) .
871
872
872
873
Alters creation and modification timestamps of the given file .
873
874
- ` filepath ` & mdash ; ** string ** & mdash ; File path .
@@ -917,7 +918,7 @@ in this library fork.
917
918
` ` ` ts
918
919
function write(filepath: string, contents: string, position?: number, encoding?: EncodingT): Promise<void>;
919
920
` ` `
920
- ** VERIFIED :** Android .
921
+ ** VERIFIED :** Android , iOS ( New Arch ) .
921
922
922
923
Writes content to a file at the given random access position .
923
924
0 commit comments