type error = The type error.
val make : ?cache:int -> Cstruct.t -> (t, error) Stdlib.resultval find : t -> Hash.t -> (Checkseum.Crc32.t * int64) optionfind t hash get the CRC-32 checksum and the absolute offset binded on hash in the IDX file represented by t only if hash exists. Otherwise, it returns None.
mem t hash returns true if hash exists in the IDX file represented by t. Otherwise, it returns false.
val iter : t -> (Hash.t -> (Checkseum.Crc32.t * int64) -> unit) -> unitIteration in the IDX file.
val fold : t -> (Hash.t -> (Checkseum.Crc32.t * int64) -> 'a -> 'a) -> 'a -> 'aFold in the IDX file.
val cardinal : t -> int