package camlzip

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type compression_method =
  1. | Stored
  2. | Deflated
type entry = {
  1. filename : string;
  2. extra : string;
  3. comment : string;
  4. methd : compression_method;
  5. mtime : float;
  6. crc : int32;
  7. uncompressed_size : int;
  8. compressed_size : int;
  9. is_directory : bool;
  10. file_offset : int64;
}
type in_file
val open_in : string -> in_file
val entries : in_file -> entry list
val comment : in_file -> string
val find_entry : in_file -> string -> entry
val read_entry : in_file -> entry -> string
val copy_entry_to_channel : in_file -> entry -> Pervasives.out_channel -> unit
val copy_entry_to_file : in_file -> entry -> string -> unit
val close_in : in_file -> unit
type out_file
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 : Pervasives.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
exception Error of string * string * string
OCaml

Innovation. Community. Security.