File: README.md

package info (click to toggle)
sight 25.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 42,180 kB
  • sloc: cpp: 289,476; xml: 17,257; ansic: 9,878; python: 1,379; sh: 144; makefile: 33
file content (19 lines) | stat: -rw-r--r-- 895 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# sight::io::zip

Library for dealing with archives, either compressed as a zip archive or uncompressed as simple directory on filesystem.

## Classes:

- **read_archive**, **write_archive**: defines abstract functions for reading / writing files in an archive.
- **read_dir_archive**, **write_dir_archive**: reads / writes files in a directory.
- **read_zip_archive**, **write_zip_archive**: reads / writes files in a zip archive. They use `minizip` backend.

- **minizip**: contains `minizip` fork from [minizip-ng](https://github.com/zlib-ng/minizip-ng). This fork differs from original [minizip](https://www.winimage.com/zLibDll/minizip.html) by the addition of bug and security fixes and additional features like encryption. The sources are mainly untouched and are based on `1.2`  branch.

## How to use it

### CMake

```cmake
target_link_libraries( my_target <PUBLIC|PRIVATE> io_zip)
```