package carton

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

carton-1.3.0.tbz
sha256=0e709c06a5aeb2e6dea3282107167e143b9c22bc528ed75a8150067dbd8f957b
sha512=a1e2129b929f4dee96f8eabace173a57987a42657089135193a5f496088ba5e8fb2c620c4276a7385d2d97da4bbada5fb6790e230ade3b50df2d351bcde739a2

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