Back to

Package ar

Latest Go to latest

The highest tagged major version is .

Published: May 6, 2020 | License: BSD-3-Clause | Module:


Package ar contains a minimal ar archive reader, including only what shotizam needs.


type File

type File struct {
	Name string
	Size int64

type Reader

type Reader struct {
	// contains filtered or unexported fields

func NewReader

func NewReader(ra io.ReaderAt) (*Reader, error)

func (*Reader) Next

func (r *Reader) Next() (*File, error)

Next returns the next file or an error.

On EOF, the error is (nil, io.EOF).

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier