54609e8c17
Add a new AsyncRead wrapper, DecompressedReader, that wraps an underlying AsyncRead, but sniffs the magic bytes at the start of the stream to determine which compression format is being used out of the three that are supported by builtins.fetchTarball, and switches to the correct decompression algorithm adapter dynamically. This will be used in the implementation of builtins.fetchTarball Change-Id: I892a4683d5c93e67d4c173f3d21199bdc6605922 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11019 Reviewed-by: flokli <flokli@flokli.de> Tested-by: BuildkiteCI |
||
---|---|---|
.. | ||
builtins | ||
tests | ||
.skip-subtree | ||
decompression.rs | ||
fetchurl.nix | ||
known_paths.rs | ||
lib.rs | ||
refscan.rs | ||
tvix_build.rs | ||
tvix_io.rs | ||
tvix_store_io.rs |