Browse Source

Update README.md

wkh237 8 years ago
parent
commit
1b13126f75
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      README.md

+ 4
- 4
README.md View File

143
 
143
 
144
 **Use Specific File Path**
144
 **Use Specific File Path**
145
 
145
 
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.
147
 
147
 
148
 ```js
148
 ```js
149
 let dirs = RNFetchBlob.fs.dirs
149
 let dirs = RNFetchBlob.fs.dirs
347
 
347
 
348
 Here's the list of `fs` APIs
348
 Here's the list of `fs` APIs
349
 
349
 
350
-- getSystemDirs
350
+- dirs
351
 - createFile
351
 - createFile
352
 - readStream
352
 - readStream
353
 - writeStream
353
 - writeStream
536
 
536
 
537
 `0.5.0`
537
 `0.5.0`
538
 
538
 
539
-#### getSystemDirs():Map<String, String>
539
+#### dirs
540
 
540
 
541
-This method returns common used folders:
541
+This constant is a hash map contains common used folders:
542
 - DocumentDir
542
 - DocumentDir
543
 - CacheDir
543
 - CacheDir
544
 - DCIMDir (Android Only)
544
 - DCIMDir (Android Only)