на диск без заполения архива в памяти? надо собирать много файлов в один архив
io.Pipe можно в эту сторону посмотреть
https://games.greggman.com/game/zip-rant/ > But, 4.1.9 says you can stream zip files. How is that possible? What if there is some local file record that is not referenced by the central directory? Is that valid? This is undefined. > But, that contradicts 4.1.9 that says zip files maybe be streamed. If zip files can be streamed then both of the example above would fail because in the first case we'd see file B and in the second we'd see file A (old) before we saw that the central directory doesn't reference them. If you have to wait for the central directory before you can correctly use any of the entries then functionally you can not stream zip files. Очень увлекательное чтение
Обсуждают сегодня