Skip to content
This repository was archived by the owner on Mar 16, 2019. It is now read-only.

Commit 1b13126

Browse files
committed
Update README.md
1 parent b9801ce commit 1b13126

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ RNFetchBlob
143143

144144
**Use Specific File Path**
145145

146-
If you prefer a specific path rather than random generated one, you can use `path` option. We've added a [getSystemDirs](#user-content-getsysdirs) API in v0.5.0 that lists several common used directories.
146+
If you prefer a specific path rather than random generated one, you can use `path` option. We've added a constant [dirs](#user-content-dirs) in v0.5.0 that contains several common used directories.
147147

148148
```js
149149
let dirs = RNFetchBlob.fs.dirs
@@ -347,7 +347,7 @@ File access APIs were made when developing `v0.5.0`, which helping us write test
347347

348348
Here's the list of `fs` APIs
349349

350-
- getSystemDirs
350+
- dirs
351351
- createFile
352352
- readStream
353353
- writeStream
@@ -536,9 +536,9 @@ RNFetchBlob.base64.decode(data)
536536

537537
`0.5.0`
538538

539-
#### getSystemDirs():Map<String, String>
539+
#### dirs
540540

541-
This method returns common used folders:
541+
This constant is a hash map contains common used folders:
542542
- DocumentDir
543543
- CacheDir
544544
- DCIMDir (Android Only)

0 commit comments

Comments
 (0)