Documentation ¶ Overview ¶ Package archiveutil helps dealing with common archive file formats. Index ¶ func OpenTar(rawRd io.Reader) (*tar.Reader, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func OpenTar ¶ func OpenTar(rawRd io.Reader) (*tar.Reader, error) OpenTar opens a `.tar`, `.tar.gz`, or `.tar.bz2` file. Peeks the first few bytes in the given reader and auto-detects the file format. Returns a tar reader spliced together with a decompressor if necessary. Types ¶ This section is empty. Source Files ¶ View all Source files archiveutil.go Click to show internal directories. Click to hide internal directories.