package carton

  1. Overview
  2. Docs

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.