package carton-lwt

  1. Overview
  2. Docs
Implementation of PACK file in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

carton-1.0.0.tbz
sha256=0d5e34a76527d6537264667c9a27625600c1d84ca38cdb2da6563aabc70135cd
sha512=3ef5fe849a51cca67eddd57869aacf38e4f3efa30f69f81fd5d32603a79e0706efebcfd3def4889a1713dce1e568e12e28936552ba561dd4d575c43e8962e44b

doc/carton-lwt/Carton_lwt/index.html

Module Carton_lwtSource

Sourcetype entry = {
  1. offset : int;
  2. crc : Optint.t;
  3. consumed : int;
  4. size : int;
}
Sourcetype config
Sourceval config : ?threads:int -> ?on_entry:(max:int -> entry -> unit Lwt.t) -> ?on_object:(Carton.Value.t -> Carton.Uid.t -> unit Lwt.t) -> ref_length:int -> Carton.identify -> config
Sourceval verify_from_stream : cfg:config -> digest:Carton.First_pass.digest -> append:(string -> off:int -> len:int -> unit Lwt.t) -> 'fd Cachet.t -> string Lwt_stream.t -> (Carton.status array * string) Lwt.t
Sourceval delta : ref_length:int -> load:(Carton.Uid.t -> 'meta -> Carton.Value.t Lwt.t) -> 'meta Cartonnage.Entry.t Lwt_seq.t -> 'meta Cartonnage.Target.t Lwt_seq.t
Sourceval to_pack : ?with_header:int -> ?with_signature:Carton.First_pass.digest -> ?cursor:int -> ?level:int -> load:(Carton.Uid.t -> 'meta -> Carton.Value.t Lwt.t) -> 'meta Cartonnage.Target.t Lwt_stream.t -> string Lwt_seq.t
Sourceval index : length:int -> hash_length:int -> ref_length:int -> 'fd Cachet.t -> 'fd Classeur.t
Sourceval make : ?z:De.bigstring -> ref_length:int -> ?index:(Carton.Uid.t -> int) -> 'fd Cachet.t -> 'fd Carton.t
OCaml

Innovation. Community. Security.