package carton

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

Install

Dune Dependency

Authors

Maintainers

Sources

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

doc/carton.classeur/Classeur/index.html

Module ClasseurSource

Sourcetype uid = private string
Sourcetype 'fd t
Sourcetype 'a fn = uid:uid -> crc:Optint.t -> offset:int -> 'a
Sourceval make : ?pagesize:int -> ?cachesize:int -> map:'fd Cachet.map -> 'fd -> length:int -> hash_length:int -> ref_length:int -> 'fd t
Sourceval of_cachet : length:int -> hash_length:int -> ref_length:int -> 'fd Cachet.t -> 'fd t
Sourceval copy : 'fd t -> 'fd t
Sourceval uid_of_string : 'fd t -> string -> (uid, [> `Msg of string ]) result
Sourceval uid_of_string_exn : 'fd t -> string -> uid
Sourceval unsafe_uid_of_string : string -> uid
Sourceval find_offset : 'fd t -> uid -> int
Sourceval find_crc : 'fd t -> uid -> Optint.t
Sourceval iter : fn:unit fn -> 'fd t -> unit
Sourceval map : fn:'a fn -> 'fd t -> 'a list
Sourceval exists : 'fd t -> uid -> bool
Sourceval max : 'fd t -> int
Sourceval get : 'fd t -> int -> uid * Optint.t * int
Sourceval get_uid : 'fd t -> int -> uid
Sourceval get_offset : 'fd t -> int -> int
Sourceval get_crc : 'fd t -> int -> Optint.t
Sourceval pack : 'fd t -> string
Sourceval idx : 'fd t -> string
Sourcemodule type UID = sig ... end
Sourcemodule Encoder : sig ... end
OCaml

Innovation. Community. Security.