mirage / ocaml-tar

Pure OCaml library to read and write tar files
ISC License
54 stars 34 forks source link

tar_lwt_unix gzip functions #149

Open reynir opened 2 months ago

reynir commented 2 months ago

This is WIP to address #148. It implements fold_gz and extract_gz, and create_gz is stubbed out. I notice create doesn't use Tar.t or Tar.out for writing the archive. It's probably an oversight when write support was added. I will look into that.

reynir commented 1 month ago

I rewrote Tar_lwt_unix.create to use Tar.out. An issue I haven't solved is how to ensure the dir_handle is closed if there is an error.