pub fn write_stream_seek<NextFn>(
stream: &mut Stream,
next_entry: NextFn,
out: impl Write + Seek,
opts: Options,
) -> Result<(), Error>
Expand description
Like write_stream()
, but requires std::io::Seek
for out
.
Note that zip
is able to stream big files, which our tar
implementation is not able to do, which makes it the
only suitable container to support huge files from git-lfs
without consuming excessive amounts of memory.