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/Carton/Size/index.html

Module Carton.SizeSource

The size is a non-negative number which corresponds to the size of a Blob in memory in bytes.

Note: We're not talking about the size of an object in the PACK file, but the size of the buffers needed to extract an object. Indeed, depending on the object and the way it is serialized in the PACK file, it may be necessary for the size to be larger than the object itself, particularly to store the source needed to build a patched object.

Sourcetype t = private int
Sourceval of_int_exn : int -> t
Sourceval to_int : t -> int
Sourceval zero : t
Sourceval compare : t -> t -> int
Sourceval equal : t -> t -> bool
Sourceval max : t -> t -> t