-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
The API in
ocaml-tar/unix/tar_lwt_unix.ml
Lines 108 to 113 in 503cbea
| let fold f filename init = | |
| let open Lwt_result.Infix in | |
| safe Lwt_unix.(openfile filename [ O_RDONLY ]) 0 >>= fun fd -> | |
| Lwt.finalize | |
| (fun () -> run (Tar.fold f init) fd) | |
| (fun () -> safe_close fd) |
is missing the
(Tar_gz.in_gzipped (Tar.fold f init)) that would be required to read .tar.gz files.
There is probably somewhere else in the same file to add in Tar_gz.out_gzipped.
Or is there another way to do it? I can't find any examples or tests for this use case.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels