package tar

  1. Overview
  2. Docs

Module Tar_cstruct.ArchiveSource

Sourceval with_next_file : in_channel -> (in_channel -> Tar.Header.t -> 'a) -> 'a

with_next_file ic f Read the next header, apply the function f to ic and the header. The function should leave ic positioned immediately after the datablock. really_read can be used for this purpose. Finally the function skips past the zero padding to the next header.

List the contents of a tar.