Skip to content

Commit f5c7e65

Browse files
YaoHuiJiplrthink
authored andcommitted
Update README.md
remove notes
1 parent f211ca8 commit f5c7e65

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ import { MainBundlePath, DocumentDirectoryPath } from 'react-native-fs'
5151

5252
> zip source to target
5353
54-
***NOTE: only support zip folder, not file entries***
55-
5654
***NOTE: the string version of source is for folder, the string[] version is for file, so if you want to zip a single file, use zip([file]) instead of zip(file)***
5755

5856
Example
@@ -72,9 +70,7 @@ zip(sourcePath, targetPath)
7270

7371
**`zipWithPassword(source: string | string[], target: string, password: string, encryptionType: string): Promise<string>`**
7472

75-
> zip source to target
76-
77-
***NOTE: only support zip folder, not file entries***
73+
> zip source to target`
7874
7975
***NOTE: the string version of source is for folder, the string[] version is for file, so if you want to zip a single file, use zip([file]) instead of zip(file)***
8076

0 commit comments

Comments
 (0)