← ZIO Streams Compress docs

TarUnarchiver

zio.compress.TarUnarchiver
See theTarUnarchiver companion class
object TarUnarchiver

Attributes

Companion
class
Source
Tar.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(chunkSize: Int = ...): TarUnarchiver

An Unarchiver for Tar, based on the Apache Commons Compress library.

An Unarchiver for Tar, based on the Apache Commons Compress library.

The archive entries might have a known uncompressed size.

Value parameters

chunkSize

chunkSize of the archive entry content streams. Defaults to 64KiB.

Attributes

Source
Tar.scala
def list: ZPipeline[Any, Throwable, Byte, ArchiveEntry[Option, TarArchiveEntry]]

Attributes

Source
Tar.scala
def unarchive: ZPipeline[Any, Throwable, Byte, (ArchiveEntry[Option, TarArchiveEntry], ZStream[Any, IOException, Byte])]

See apply and Unarchiver.unarchive.

⚠️Note: the entry's content must be fully read before the next archive entry is emitted. See the project's README for the consequences, tips and workarounds.

Attributes

Source
Tar.scala