zip ~main

Binding for a portable, simple zip library


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

zip-d

D binding for a portable, simple zip library.

Download

DUB

dub add zip

Example

import zip;

void main()
{
  zip_t* z = zip_open("/tmp/d.zip", 6, 'w');
  scope(exit) zip_close(z);

  zip_entry_open(z, "test");
  scope(exit) zip_entry_close(z);

  string content = "test content";
  zip_entry_write(z, content.ptr, content.length);
}

References

License

This repo is released under the MIT License.

Authors:
  • XXIV
Dependencies:
none
Versions:
0.1.0 2023-Oct-13
~main 2023-Oct-19
Show all 2 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 1 downloads this month

  • 8 downloads total

Score:
0.4
Short URL:
zip.dub.pm