ocaml-tar

Pure OCaml library to read and write tar files (by mirage)

Ocaml-tar Alternatives

Similar projects and alternatives to ocaml-tar

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better ocaml-tar alternative or higher similarity.

ocaml-tar reviews and mentions

Posts with mentions or reviews of ocaml-tar. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-10.
  • Littlefs – a little fail-safe filesystem designed for microcontrollers
    4 projects | news.ycombinator.com | 10 Dec 2023
    I helped build a tar-backed filesystem for MirageOS[0]. It is definitely easiest to make it append-only. I did add in-place renaming, updates (of file content), pre-allocating a file and removing the last file.

    We also scan the filesystem on boot and keep a mapping in-memory of file names to file metadata and block offsets, and update this memory representation when modifying the on-disk tar filesystem. If you have a lot of small files this is maybe not a great idea as you will be storing most in memory, though.

    For the purpose we had in mind it worked fine: A content addressable mirror of package archives. The archives exist somewhere on the web and the package file has a link to the archive and a checksum. We can then download the package and store it by the checksum. This gives integrity that the tar filesystem does not offer. Removing the last file works great if you only have one download job. Otherwise if a download fails and it is not the latest file you can rename it to `failed/-` and do garbage collection in the filesystem at a later point.

    [0]: https://github.com/mirage/ocaml-tar/blob/main/mirage/tar_mir...

Stats

Basic ocaml-tar repo stats
1
54
7.7
about 2 months ago

mirage/ocaml-tar is an open source project licensed under ISC License which is an OSI approved license.

The primary programming language of ocaml-tar is OCaml.

Popular Comparisons


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com