package carton

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

carton-1.2.0.tbz
sha256=7233406fc976184da8c1002f8a6d38beaf9a29968f8ce968d5175f39f777f594
sha512=9bd1cea6811e31ed8b7d1dc7b4ab2ddbe8f481402a340a3578c247c080d567f9cc97c164fd459c1c0a24cd9acb0852d99d70ba5fffef0ba6fac6af6d3e0ddbbc

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