package carton

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

Install

Dune Dependency

Authors

Maintainers

Sources

carton-0.7.2.tbz
sha256=46795855444dd8ce7cd90fc9d975516c9ea0b0f50365b25e2d672864256db692
sha512=a1a3c81cb51c61f4a85b661affd4db1aebedff678215a334fd240120622d3dbdd7d63e6cca994ec56c1a15675fe686bbf8a50233017911ce4dc44a70145fd98a

CHANGES.md.html

0.7.2 (2024-05-19) Paris - France

  • Remove the result dependency (@hannesm, mirage/ocaml-git#634)

  • Split out carton into https://git.robur.coop/robur/carton (@dinosaure)

0.7.1 (2024-02-12) Paris - France

  • Add a Lwt.pause to insert a cooperative point when we verify a PACK file (@dinosaure, @hannesm, #631)

0.7.0 (2023-09-28) Paris - France

  • Extend the API with the ability to choose the compression level (@dinosaure, #616)

  • Extend the API about *.idx file and be able to map entries (@dinosaure, #619)

0.6.0 (2022-10-19) Paris - France

  • Add few functions to introspect target when we encode and be able to construct objects with source (@dinosaure, #595)

0.5.0 (2022-09-29) Paris - France

  • Add missing dependencies on Unix (@dra27, #573)

  • Be able to choose the zlib compression level when we generate a PACK file (@dinosaure, #578)

  • Fix spurious bug when we encode a patch into a PACK file (@dinosaure, #578)

  • Add an accessor to get the hash ctx computed by the first-pass of a PACK file (@dinosaure, #584)

  • Fix how we record the weight of Git objects into a PACK file (@dinosaure, #591)

0.4.4 (2022-04-11) Paris - France

  • Remove bigarray-compat and mmap dependencies (@dinosaure, @hannesm, #568)

0.4.3 (2021-03-08) Paris - France

  • Use Cstruct.length instead of Cstruct.len (@dinosaure, #522)

  • Fix big endian support via decompress and checkseum (@dinosaure, @talex5, @tmcgilchrist, #523)

  • Handle huge PACK files (@dinosaure, @TheLortex, #526)

0.4.2 (2021-11-05) Paris - France

  • Fix stream of inflated contents on PACK entry (@dinosaure, @talex5, @emillon, #515, #514)

0.4.1 (2021-22-04) Paris - France

  • Add a sector_size argument when we make a PACK decoder (@dinosaure, #493, #497)

0.4.0 (2021-15-03) Paris - France

  • Handle trunc argument when we process a thin PACK file breaking changes An optional argument is added on the record which abstract the file-system. It should be correctly handled by underlying implementation of the file-system. It appears that, at top, we need to figure out such option, specially for Git and Cstruct_append to correctly access to memories.

0.3.0 (2021-05-03) Paris - France

  • Provides binaries to manipulate PACK files (@dinosaure, #475) breaking changes A transitive breaking changes from decompress.1.3.0 when the compressor expects a De.Lz77.window instead of De.window

  • Update to decompress.1.3.0 (@dinosaure, #477)

0.2.0 (2021-05-02) Saint-Malo - France

  • Unmonad mmap (@dinosaure, #454) mmap is a syscall which does not block. The ability to use it outside the scheduler monad (like LWT) permits us to detach multiple processes to analyze a PACK file.

    With this PR, we take the advantage of Thread or Lwt_preemptive (or more acccurately, the concurrency) to analyze a large PACK file and speed-up the clone/fetch process.

    The distribution comes with a new binary, carton.verify-pack which is git verify-pack.

0.1.0 (2021-08-01) Paris - France

  • First release of carton

OCaml

Innovation. Community. Security.