package carton

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

Install

Dune Dependency

Authors

Maintainers

Sources

carton-1.1.0.tbz
sha256=f7d8bf836b5ae2c7d72b72460f1319a176351923b446395f6551906d3a273628
sha512=534b12ec8ba73d135dc8242d49cdac064414cf6c2257d6aac30b163697c676b9f5571ba85dec2af5116693e4520fb9bc97bc20f2356b05bc39817eea50a175d8

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.