Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiandev committed Jul 26, 2015
1 parent dcb40b5 commit a4b53eb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ It was born out of the necessity of a compression library that would be reliable
#### Features:
- [x] Create zip in memory
- [x] Allow files, vector and generic streams as input to zip
- [x] File mappings for replacing strategies (overwrite if exists or use alternative name from mapping)
- [ ] Password protected zip
- [ ] File mappings for replacing strategies (if file exists overwrite or use alternative name provided in mapping)


#### Configuration
Expand Down Expand Up @@ -99,6 +99,14 @@ unzipper.extract();
unzipper.close();
```

- Extracting all entries from zip using alternative names for existing files on disk
```c++
std::map<std::string, std::string> alternativeNames = { {"Test1", "alternative_name_test1"} };
Unzipper unzipper("zipfile.zip");
unzipper.extract(alternativeNames);
unzipper.close();
```
- Extracting a single entry from zip
```c++
Unzipper unzipper("zipfile.zip");
Expand Down

0 comments on commit a4b53eb

Please sign in to comment.