type entry = {filename : string; |
extra : string; |
comment : string; |
methd : compression_method; |
mtime : float; |
crc : int32; |
uncompressed_size : int; |
compressed_size : int; |
is_directory : bool; |
file_offset : int64; |
}val open_in : string -> in_fileval comment : in_file -> stringval copy_entry_to_channel : in_file -> entry -> Stdlib.out_channel -> unitval close_in : in_file -> unitval open_out : ?comment:string -> string -> out_fileval add_entry : string -> out_file -> ?extra:string -> ?comment:string -> ?level:int -> ?mtime:float -> string -> unitval copy_channel_to_entry : Stdlib.in_channel -> out_file -> ?extra:string -> ?comment:string -> ?level:int -> ?mtime:float -> string -> unitval copy_file_to_entry : string -> out_file -> ?extra:string -> ?comment:string -> ?level:int -> ?mtime:float -> string -> unitval add_entry_generator : out_file -> ?extra:string -> ?comment:string -> ?level:int -> ?mtime:float -> string -> (bytes -> int -> int -> unit) * (unit -> unit)val close_out : out_file -> unit