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

Commit f583f9e

Browse files
committed
Update README.md
1 parent 2696c26 commit f583f9e

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

README.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## v0.5.0 Work In Progress README.md
44

5-
Module for upload, download, and access files in JS context. Also provides file stream API for read/write large files.
5+
Module for upload, download, and access files in JS context. Also has file stream API for read/write large files.
66

77
If you're getting into trouble with image or file server that requires specific fields in the header, or you're having problem with `fetch` API when sending/receiving binary data, you might try this module as well.
88

@@ -623,11 +623,20 @@ RNFetchBlob.fs.readStream(PATH_TO_READ, 'base64')
623623

624624
#### mkdir(path:string):Promise
625625

626-
TODO
626+
Create a directory named `path`
627627

628-
#### ls(path:string):Promise
628+
```js
629+
RNFetchBlob.fs.mkdir(PATH_TO_CREATE)
630+
.then(() => { ...})
631+
.catch((err) => { ...})
632+
```
629633

630-
TODO
634+
#### ls(path:string):Promise<Array<String>>
635+
636+
List files and directories in a `path`
637+
638+
```js
639+
```
631640

632641
#### mv(from:string, to:string):Promise
633642

0 commit comments

Comments
 (0)