opam-mirror/mirage
Reynir Björnsson 8e326ecbc5 WIP partial writes
If possible, downloads are streamed to disk in the /pending/ directory
in the tar filesystem. If the download is successful and the checksums
match the file is renamed to its sha256 hash. Otherwise, it is moved
under /to-delete/ so it can be deleted by an operator.

Before downloading we check if it has been downloaded before, but we
need to check as well if it is being downloaded (in /pending/) or if we
unsuccessfully downloaded it before (e.g. failed checksum, stored in
/to-delete/).

It is not very elegant code, and it could do with a thorough review or
rewrite.
2023-01-25 11:34:31 +01:00
..
bad.ml solo5-elftool fixed now 2022-09-28 10:41:46 +02:00
config.ml Update to mirage.4.3.1 and its alpn_client 2023-01-20 14:46:22 +01:00
unikernel.ml WIP partial writes 2023-01-25 11:34:31 +01:00