expo-file-system 19.0.4 → 19.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/android/build.gradle +2 -2
  3. package/build/ExpoFileSystem.types.d.ts +4 -8
  4. package/build/ExpoFileSystem.types.d.ts.map +1 -1
  5. package/build/FileSystem.d.ts +27 -6
  6. package/build/FileSystem.d.ts.map +1 -1
  7. package/expo-module.config.json +1 -1
  8. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.4/expo.modules.filesystem-19.0.4.module → 19.0.5/expo.modules.filesystem-19.0.5.module} +7 -7
  9. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.5/expo.modules.filesystem-19.0.5.module.md5 +1 -0
  10. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.5/expo.modules.filesystem-19.0.5.module.sha1 +1 -0
  11. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.5/expo.modules.filesystem-19.0.5.module.sha256 +1 -0
  12. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.5/expo.modules.filesystem-19.0.5.module.sha512 +1 -0
  13. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.4/expo.modules.filesystem-19.0.4.pom → 19.0.5/expo.modules.filesystem-19.0.5.pom} +1 -1
  14. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.5/expo.modules.filesystem-19.0.5.pom.md5 +1 -0
  15. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.5/expo.modules.filesystem-19.0.5.pom.sha1 +1 -0
  16. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.5/expo.modules.filesystem-19.0.5.pom.sha256 +1 -0
  17. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.5/expo.modules.filesystem-19.0.5.pom.sha512 +1 -0
  18. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml +4 -4
  19. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml.md5 +1 -1
  20. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml.sha1 +1 -1
  21. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml.sha256 +1 -1
  22. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/maven-metadata.xml.sha512 +1 -1
  23. package/package.json +3 -3
  24. package/src/ExpoFileSystem.types.ts +4 -8
  25. package/src/FileSystem.ts +27 -6
  26. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.4/expo.modules.filesystem-19.0.4.module.md5 +0 -1
  27. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.4/expo.modules.filesystem-19.0.4.module.sha1 +0 -1
  28. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.4/expo.modules.filesystem-19.0.4.module.sha256 +0 -1
  29. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.4/expo.modules.filesystem-19.0.4.module.sha512 +0 -1
  30. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.4/expo.modules.filesystem-19.0.4.pom.md5 +0 -1
  31. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.4/expo.modules.filesystem-19.0.4.pom.sha1 +0 -1
  32. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.4/expo.modules.filesystem-19.0.4.pom.sha256 +0 -1
  33. package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/19.0.4/expo.modules.filesystem-19.0.4.pom.sha512 +0 -1
  34. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.4/expo.modules.filesystem-19.0.4-sources.jar → 19.0.5/expo.modules.filesystem-19.0.5-sources.jar} +0 -0
  35. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.4/expo.modules.filesystem-19.0.4-sources.jar.md5 → 19.0.5/expo.modules.filesystem-19.0.5-sources.jar.md5} +0 -0
  36. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.4/expo.modules.filesystem-19.0.4-sources.jar.sha1 → 19.0.5/expo.modules.filesystem-19.0.5-sources.jar.sha1} +0 -0
  37. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.4/expo.modules.filesystem-19.0.4-sources.jar.sha256 → 19.0.5/expo.modules.filesystem-19.0.5-sources.jar.sha256} +0 -0
  38. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.4/expo.modules.filesystem-19.0.4-sources.jar.sha512 → 19.0.5/expo.modules.filesystem-19.0.5-sources.jar.sha512} +0 -0
  39. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.4/expo.modules.filesystem-19.0.4.aar → 19.0.5/expo.modules.filesystem-19.0.5.aar} +0 -0
  40. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.4/expo.modules.filesystem-19.0.4.aar.md5 → 19.0.5/expo.modules.filesystem-19.0.5.aar.md5} +0 -0
  41. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.4/expo.modules.filesystem-19.0.4.aar.sha1 → 19.0.5/expo.modules.filesystem-19.0.5.aar.sha1} +0 -0
  42. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.4/expo.modules.filesystem-19.0.4.aar.sha256 → 19.0.5/expo.modules.filesystem-19.0.5.aar.sha256} +0 -0
  43. /package/local-maven-repo/host/exp/exponent/expo.modules.filesystem/{19.0.4/expo.modules.filesystem-19.0.4.aar.sha512 → 19.0.5/expo.modules.filesystem-19.0.5.aar.sha512} +0 -0
package/CHANGELOG.md CHANGED
@@ -10,6 +10,10 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 19.0.5 — 2025-08-25
14
+
15
+ _This version does not introduce any user-facing changes._
16
+
13
17
  ## 19.0.4 — 2025-08-21
14
18
 
15
19
  _This version does not introduce any user-facing changes._
@@ -4,13 +4,13 @@ plugins {
4
4
  }
5
5
 
6
6
  group = 'host.exp.exponent'
7
- version = '19.0.4'
7
+ version = '19.0.5'
8
8
 
9
9
  android {
10
10
  namespace "expo.modules.filesystem"
11
11
  defaultConfig {
12
12
  versionCode 30
13
- versionName "19.0.4"
13
+ versionName "19.0.5"
14
14
  }
15
15
  }
16
16
 
@@ -81,14 +81,10 @@ export declare class Directory {
81
81
  */
82
82
  size: number | null;
83
83
  /**
84
- *
85
84
  * A static method that opens a file picker to select a directory.
86
- *
85
+ * @param initialUri An optional uri pointing to an initial folder on which the directory picker is opened.
86
+ * @returns a `Directory` instance. The underlying uri will be a content URI on Android.
87
87
  * @platform android
88
- *
89
- * @param initialUri An optional URI pointing to an initial folder on which the directory picker is opened.
90
- *
91
- * @returns A `Directory` instance. The underlying URI will be a content URI on Android.
92
88
  */
93
89
  static pickDirectoryAsync(initialUri?: string): Promise<Directory>;
94
90
  }
@@ -211,8 +207,8 @@ export declare class File {
211
207
  *
212
208
  * @param initialUri An optional URI pointing to an initial folder on which the file picker is opened.
213
209
  * @param mimeType A mime type that is used to filter out files that can be picked out.
214
- *
215
- * @returns A `File` instance.
210
+ * @returns a `File` instance.
211
+ * @platform android
216
212
  */
217
213
  static pickFileAsync(initialUri?: string, mimeType?: string): Promise<File>;
218
214
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ExpoFileSystem.types.d.ts","sourceRoot":"","sources":["../src/ExpoFileSystem.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAC1B;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,SAAS;IAC5B;;;;;;;OAOG;gBACS,GAAG,IAAI,EAAE,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC,EAAE;IAElD;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,C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;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,WAAW,EAAE,OAAO,GAAG,IAAI,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB,CAAC"}
@@ -28,13 +28,26 @@ export declare class Paths extends PathUtilities {
28
28
  */
29
29
  static info(...uris: string[]): PathInfo;
30
30
  }
31
+ /**
32
+ * Represents a file on the filesystem.
33
+ *
34
+ * A `File` instance can be created for any path, and does not need to exist on the filesystem during creation.
35
+ *
36
+ * The constructor accepts an array of strings that are joined to create the file URI. The first argument can also be a `Directory` instance (like `Paths.cache`) or a `File` instance (which creates a new reference to the same file).
37
+ * @example
38
+ * ```ts
39
+ * const file = new File(File.cache, "subdirName", "file.txt");
40
+ * ```
41
+ */
31
42
  export declare class File extends ExpoFileSystem.FileSystemFile implements Blob {
32
43
  /**
33
- * Creates an instance of a file.
34
- * @param uris An array of: `file:///` string URIs, `File` instances, `Directory` instances representing an arbitrary location on the file system. The location does not need to exist, or it may already contain a directory.
44
+ * Creates an instance of a file. It can be created for any path, and does not need to exist on the filesystem during creation.
45
+ *
46
+ * The constructor accepts an array of strings that are joined to create the file URI. The first argument can also be a `Directory` instance (like `Paths.cache`) or a `File` instance (which creates a new reference to the same file).
47
+ * @param uris An array of: `file:///` string URIs, `File` instances, and `Directory` instances representing an arbitrary location on the file system.
35
48
  * @example
36
49
  * ```ts
37
- * const file = new File("file:///path/to/file.txt");
50
+ * const file = new File(File.cache, "subdirName", "file.txt");
38
51
  * ```
39
52
  */
40
53
  constructor(...uris: (string | File | Directory)[]);
@@ -58,14 +71,22 @@ export declare class File extends ExpoFileSystem.FileSystemFile implements Blob
58
71
  * Represents a directory on the filesystem.
59
72
  *
60
73
  * A `Directory` instance can be created for any path, and does not need to exist on the filesystem during creation.
74
+ *
75
+ * The constructor accepts an array of strings that are joined to create the directory URI. The first argument can also be a `Directory` instance (like `Paths.cache`).
76
+ * @example
77
+ * ```ts
78
+ * const directory = new Directory(File.cache, "subdirName");
79
+ * ```
61
80
  */
62
81
  export declare class Directory extends ExpoFileSystem.FileSystemDirectory {
63
82
  /**
64
- * Creates an instance of a directory.
65
- * @param uris - An array of: `file:///` string URIs, `File` instances, `Directory` instances representing an arbitrary location on the file system. The location does not need to exist, or it may already contain a file.
83
+ * Creates an instance of a directory. It can be created for any path, and does not need to exist on the filesystem during creation.
84
+ *
85
+ * The constructor accepts an array of strings that are joined to create the directory URI. The first argument can also be a `Directory` instance (like `Paths.cache`).
86
+ * @param uris An array of: `file:///` string URIs, `File` instances, and `Directory` instances representing an arbitrary location on the file system.
66
87
  * @example
67
88
  * ```ts
68
- * const directory = new Directory("file:///path/to/directory");
89
+ * const directory = new Directory(File.cache, "subdirName");
69
90
  * ```
70
91
  */
71
92
  constructor(...uris: (string | File | Directory)[]);
@@ -1 +1 @@
1
- {"version":3,"file":"FileSystem.d.ts","sourceRoot":"","sources":["../src/FileSystem.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,KAAK,EAAmB,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGhD,qBAAa,KAAM,SAAQ,aAAa;IACtC;;OAEG;IACH,MAAM,KAAK,KAAK,cAEf;IAED;;OAEG;IACH,MAAM,KAAK,MAAM,cAEhB;IAED;;OAEG;IACH,MAAM,KAAK,QAAQ,cAElB;IACD,MAAM,KAAK,qBAAqB,8BAS/B;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AOrC;;OAEG;IACH,IAAI,IAAI,WAEP;IAED,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI;IAKvD,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS;CAGzC"}
@@ -12,7 +12,7 @@
12
12
  "publication": {
13
13
  "groupId": "host.exp.exponent",
14
14
  "artifactId": "expo.modules.filesystem",
15
- "version": "19.0.4",
15
+ "version": "19.0.5",
16
16
  "repository": "local-maven-repo"
17
17
  }
18
18
  }
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "host.exp.exponent",
5
5
  "module": "expo.modules.filesystem",
6
- "version": "19.0.4",
6
+ "version": "19.0.5",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
@@ -75,8 +75,8 @@
75
75
  ],
76
76
  "files": [
77
77
  {
78
- "name": "expo.modules.filesystem-19.0.4.aar",
79
- "url": "expo.modules.filesystem-19.0.4.aar",
78
+ "name": "expo.modules.filesystem-19.0.5.aar",
79
+ "url": "expo.modules.filesystem-19.0.5.aar",
80
80
  "size": 373316,
81
81
  "sha512": "36dc7ab692103570111d72588e7674ae1c7cf2c0665a351738f87dc0af98dbccb34aef221f34b5630403f2d6fd46a13cd22e4b3fb75a90f6b8b0bc2a41dd49cf",
82
82
  "sha256": "977ef17ccaa7a6f8c09c70d2f2f2f0c1002f07df8b3756ce3905a37a7288b41b",
@@ -153,8 +153,8 @@
153
153
  ],
154
154
  "files": [
155
155
  {
156
- "name": "expo.modules.filesystem-19.0.4.aar",
157
- "url": "expo.modules.filesystem-19.0.4.aar",
156
+ "name": "expo.modules.filesystem-19.0.5.aar",
157
+ "url": "expo.modules.filesystem-19.0.5.aar",
158
158
  "size": 373316,
159
159
  "sha512": "36dc7ab692103570111d72588e7674ae1c7cf2c0665a351738f87dc0af98dbccb34aef221f34b5630403f2d6fd46a13cd22e4b3fb75a90f6b8b0bc2a41dd49cf",
160
160
  "sha256": "977ef17ccaa7a6f8c09c70d2f2f2f0c1002f07df8b3756ce3905a37a7288b41b",
@@ -173,8 +173,8 @@
173
173
  },
174
174
  "files": [
175
175
  {
176
- "name": "expo.modules.filesystem-19.0.4-sources.jar",
177
- "url": "expo.modules.filesystem-19.0.4-sources.jar",
176
+ "name": "expo.modules.filesystem-19.0.5-sources.jar",
177
+ "url": "expo.modules.filesystem-19.0.5-sources.jar",
178
178
  "size": 28421,
179
179
  "sha512": "c91977ae610fa808ea0765cd14182ad1d8961f59cbdf2df2396e7f77fe8cadbcd152018902a4f09474177b5ea77f78c107d6016c127d0546c4e9b0ebbf2b13fe",
180
180
  "sha256": "9cf826cfa827700e415e780bc1b4a49477ea31486d465154824b7331c89e9dc7",
@@ -0,0 +1 @@
1
+ b80fb6ce987e4b7f65e72affdcd4f6988d96a3af110cc40a3760c15dd19b2c5c
@@ -0,0 +1 @@
1
+ dad6ebef53bb0ca799675f417c47aa5e4d089c35db21f88e9c8a570604aa4970255519944131428df5a2a20d434d93693a9fc93773db9db2d25ce2825aa6d304
@@ -9,7 +9,7 @@
9
9
  <modelVersion>4.0.0</modelVersion>
10
10
  <groupId>host.exp.exponent</groupId>
11
11
  <artifactId>expo.modules.filesystem</artifactId>
12
- <version>19.0.4</version>
12
+ <version>19.0.5</version>
13
13
  <packaging>aar</packaging>
14
14
  <name>expo.modules.filesystem</name>
15
15
  <url>https://github.com/expo/expo</url>
@@ -0,0 +1 @@
1
+ 68c8f32767b0549b2e733d132cb21ac82bd86fb0e8fbff4b0529a6838d0fc438
@@ -0,0 +1 @@
1
+ 8377212c44357f227e871376bd85a005aae507df0851780cc0f12d6ce946b81e6029edf05c58625077387b474e1dd87af730f31180009387a1f9c64e21c732ab
@@ -3,11 +3,11 @@
3
3
  <groupId>host.exp.exponent</groupId>
4
4
  <artifactId>expo.modules.filesystem</artifactId>
5
5
  <versioning>
6
- <latest>19.0.4</latest>
7
- <release>19.0.4</release>
6
+ <latest>19.0.5</latest>
7
+ <release>19.0.5</release>
8
8
  <versions>
9
- <version>19.0.4</version>
9
+ <version>19.0.5</version>
10
10
  </versions>
11
- <lastUpdated>20250821040950</lastUpdated>
11
+ <lastUpdated>20250825161907</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- 2d4234bd82278fa383aa7b86c4889564
1
+ 7bcef1846b11745f444541f602117f32
@@ -1 +1 @@
1
- 412c3275b163960bb95d50e5774871cad923000a
1
+ 651729a270d482d1a8d111f3955875e0cb25f905
@@ -1 +1 @@
1
- 8e923335464a3b7e7f0d582ed90f59292713b9c6c8c1d871bde0084397eb3d84
1
+ f9657fccdaffaef75d442cc36cdf0cc203bc358226c7220f1ab6695a3ee1fdd5
@@ -1 +1 @@
1
- 697118aab70c0975e4e8736ba5b168fa47fde7764f7b7205eb23e0b073a8ab777cbc7d12c3cdde69d35b681a1467752b9e927c8ce400693c18de48c78d7f8b6d
1
+ db43a9e891bb1afca0c9f43724e00a1e2ced2dfa353934f8e77d8942bc76b2be6a30fc86c9e03ba94214a26c4ed0e19fdbe72851f31a882e39d9973a50359dd5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-file-system",
3
- "version": "19.0.4",
3
+ "version": "19.0.5",
4
4
  "description": "Provides access to the local file system on the device.",
5
5
  "main": "src/index.ts",
6
6
  "types": "build/index.d.ts",
@@ -35,12 +35,12 @@
35
35
  "preset": "expo-module-scripts"
36
36
  },
37
37
  "devDependencies": {
38
- "expo-module-scripts": "^5.0.2",
38
+ "expo-module-scripts": "^5.0.3",
39
39
  "jest-expo": "~54.0.2"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "expo": "*",
43
43
  "react-native": "*"
44
44
  },
45
- "gitHead": "3275774c9286477adba9bc226d3923a996217ee4"
45
+ "gitHead": "ef0b9ecf9645d3e93587d5ee5030dbfcbf735bbd"
46
46
  }
@@ -93,14 +93,10 @@ export declare class Directory {
93
93
  size: number | null;
94
94
 
95
95
  /**
96
- *
97
96
  * A static method that opens a file picker to select a directory.
98
- *
97
+ * @param initialUri An optional uri pointing to an initial folder on which the directory picker is opened.
98
+ * @returns a `Directory` instance. The underlying uri will be a content URI on Android.
99
99
  * @platform android
100
- *
101
- * @param initialUri An optional URI pointing to an initial folder on which the directory picker is opened.
102
- *
103
- * @returns A `Directory` instance. The underlying URI will be a content URI on Android.
104
100
  */
105
101
  static pickDirectoryAsync(initialUri?: string): Promise<Directory>;
106
102
  }
@@ -247,8 +243,8 @@ export declare class File {
247
243
  *
248
244
  * @param initialUri An optional URI pointing to an initial folder on which the file picker is opened.
249
245
  * @param mimeType A mime type that is used to filter out files that can be picked out.
250
- *
251
- * @returns A `File` instance.
246
+ * @returns a `File` instance.
247
+ * @platform android
252
248
  */
253
249
  static pickFileAsync(initialUri?: string, mimeType?: string): Promise<File>;
254
250
 
package/src/FileSystem.ts CHANGED
@@ -57,13 +57,26 @@ export class Paths extends PathUtilities {
57
57
  }
58
58
  }
59
59
 
60
+ /**
61
+ * Represents a file on the filesystem.
62
+ *
63
+ * A `File` instance can be created for any path, and does not need to exist on the filesystem during creation.
64
+ *
65
+ * The constructor accepts an array of strings that are joined to create the file URI. The first argument can also be a `Directory` instance (like `Paths.cache`) or a `File` instance (which creates a new reference to the same file).
66
+ * @example
67
+ * ```ts
68
+ * const file = new File(File.cache, "subdirName", "file.txt");
69
+ * ```
70
+ */
60
71
  export class File extends ExpoFileSystem.FileSystemFile implements Blob {
61
72
  /**
62
- * Creates an instance of a file.
63
- * @param uris An array of: `file:///` string URIs, `File` instances, `Directory` instances representing an arbitrary location on the file system. The location does not need to exist, or it may already contain a directory.
73
+ * Creates an instance of a file. It can be created for any path, and does not need to exist on the filesystem during creation.
74
+ *
75
+ * The constructor accepts an array of strings that are joined to create the file URI. The first argument can also be a `Directory` instance (like `Paths.cache`) or a `File` instance (which creates a new reference to the same file).
76
+ * @param uris An array of: `file:///` string URIs, `File` instances, and `Directory` instances representing an arbitrary location on the file system.
64
77
  * @example
65
78
  * ```ts
66
- * const file = new File("file:///path/to/file.txt");
79
+ * const file = new File(File.cache, "subdirName", "file.txt");
67
80
  * ```
68
81
  */
69
82
  constructor(...uris: (string | File | Directory)[]) {
@@ -134,14 +147,22 @@ File.pickFileAsync = async function (initialUri?: string, mimeType?: string) {
134
147
  * Represents a directory on the filesystem.
135
148
  *
136
149
  * A `Directory` instance can be created for any path, and does not need to exist on the filesystem during creation.
150
+ *
151
+ * The constructor accepts an array of strings that are joined to create the directory URI. The first argument can also be a `Directory` instance (like `Paths.cache`).
152
+ * @example
153
+ * ```ts
154
+ * const directory = new Directory(File.cache, "subdirName");
155
+ * ```
137
156
  */
138
157
  export class Directory extends ExpoFileSystem.FileSystemDirectory {
139
158
  /**
140
- * Creates an instance of a directory.
141
- * @param uris - An array of: `file:///` string URIs, `File` instances, `Directory` instances representing an arbitrary location on the file system. The location does not need to exist, or it may already contain a file.
159
+ * Creates an instance of a directory. It can be created for any path, and does not need to exist on the filesystem during creation.
160
+ *
161
+ * The constructor accepts an array of strings that are joined to create the directory URI. The first argument can also be a `Directory` instance (like `Paths.cache`).
162
+ * @param uris An array of: `file:///` string URIs, `File` instances, and `Directory` instances representing an arbitrary location on the file system.
142
163
  * @example
143
164
  * ```ts
144
- * const directory = new Directory("file:///path/to/directory");
165
+ * const directory = new Directory(File.cache, "subdirName");
145
166
  * ```
146
167
  */
147
168
  constructor(...uris: (string | File | Directory)[]) {
@@ -1 +0,0 @@
1
- 8d14b91bf91010176f93304ee132f413213fc8eba873cdaa8c225f8ae6b751a7
@@ -1 +0,0 @@
1
- d14c2b6ff242dec3839e5524b1265c382514fd6abf43c8c18d52bea0bf4c161c7a7ef71cd4a4df5fe306b83f473aaf69ddfe0a18b655004727d7a36360385746
@@ -1 +0,0 @@
1
- 515f67b27724a19f4a5a1e1a63e86bc64952c878e92f48da64add7ad2a8f9d1b
@@ -1 +0,0 @@
1
- 7b59851c1649da0b73ac95cb71f1029147391dcb237ebec967b6c741f2e32d5b745a100af94084f02adbe22f929fa06b28db22e3c59dd1c5c0b4e87ccb3685b9