tar 0.5.6 icon indicating copy to clipboard operation
tar: ^0.5.6 copied to clipboard

Memory-efficient, streaming implementation of the tar file format

0.5.6 #

  • Allow cancelling a TarEntry.contents subscription before reading more files.

0.5.5+1 #

  • No user-visible changes.

0.5.5 #

  • Fix a crash when pausing a subscription to TarEntry.contents right before it ends.

0.5.4 #

  • Fix generating corrupt tar files when adding lots of entries at very high speeds (#20).
  • Allow tar files with invalid utf8 content in PAX header values if those values aren't used for anything important.

0.5.3 #

  • Improve error messages when reading a tar entry after, or during, a call to moveNext().

0.5.2 #

  • This package now supports being compiled to JavaScript.

0.5.1 #

  • Improve performance when reading large archives

0.5.0 #

  • Support sync encoding with tarConverter.

0.4.0 #

  • Support generating tar files with GNU-style long link names
  • Add format parameter to tarWritingSink and tarWriterWith

0.3.3 #

  • Drop chunked_stream dependency in favor of package:async.

0.3.2 #

  • Allow arbitrarily many zero bytes at the end of an archive when disallowTrailingData is enabled.

0.3.1 #

  • Add disallowTrailingData parameter to TarReader. When the option is set, readNext will ensure that the input stream does not emit further data after the tar archive has been read fully.

0.3.0 #

  • Remove outdated references in the documentation

0.3.0-nullsafety.0 #

  • Remove TarReader.contents and TarReader.header. Use current.contents and current.header, respectively.
  • Fix some minor implementation details

0.2.0-nullsafety #

Most of the tar package has been rewritten, it's now based on the implementation written by Garett Tok Ern Liang in the GSoC 2020.

  • Added tar prefix to exported symbols.
  • Remove MemoryEntry. Use TarEntry.data to create a tar entry from bytes.
  • Make WritingSink private. Use tarWritingSink to create a general StreamSink<tar.Entry>.
  • TarReader is now a StreamIterator, the transformer had some design flaws.

0.1.0-nullsafety.1 #

  • Support writing user and group names
  • Better support for PAX-headers and large files

0.1.0-nullsafety.0 #

  • Initial version
pub points


verified publisher iconsimonbinder.eu

Memory-efficient, streaming implementation of the tar file format

Repository (GitHub)


API reference


Icon for licenses.MIT (LICENSE)


async, meta, typed_data


Packages that depend on tar