← All notes

archive/tar: read and write tar archives in Go

Answer: Package tar implements access to tar archives. Tape archives store a sequence of files that can be read and written in a streaming manner. The package aims to cover most variations of the format, including GNU and BSD tar tools.

What the package does

Package tar implements access to tar archives.

Format coverage in the source

Tape archives, also called tar, are a file format for storing a sequence of files.

Those files can be read and written in a streaming manner.

GNU and BSD tar tools are among the variations this package aims to cover.

The package aims to cover most variations of the format.

See also

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Go, archive/tar package reference; Go, archive/tar source. BSD-3-Clause (https://go.dev/LICENSE). Copyright The Go Authors. Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Go, archive/tar package reference; Go, archive/tar source. BSD-3-Clause (https://go.dev/LICENSE). Copyright The Go Authors.

Cite this

Permanent ID: iil:note:z9q8wx49

iinventedlight. 2026. "archive/tar: read and write tar archives in Go." iinventedlight Library, iil:note:z9q8wx49, version of 2026-11-23. https://iinventedlight.com/library/notes/go-archive-tar/. License: CC-BY-4.0.

@misc{iil_note_z9q8wx49,
  author = {{iinventedlight}},
  title = {{archive/tar: read and write tar archives in Go}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-23},
  url = {https://iinventedlight.com/library/notes/go-archive-tar/},
  note = {Permanent ID iil:note:z9q8wx49. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).

Extra files beside this note

These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.

All artifact files (JSON index)

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/go-archive-tar.md.