Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
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_file
val comment : in_file -> string
val close_in : in_file -> unit
val open_out : ?comment:string -> string -> out_file
val add_entry :
string ->
out_file ->
?extra:string ->
?comment:string ->
?level:int ->
?mtime:float ->
string ->
unit
val copy_channel_to_entry :
Stdlib.in_channel ->
out_file ->
?extra:string ->
?comment:string ->
?level:int ->
?mtime:float ->
string ->
unit
val copy_file_to_entry :
string ->
out_file ->
?extra:string ->
?comment:string ->
?level:int ->
?mtime:float ->
string ->
unit
val 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