Back to godoc.org

Package ar

v0.0.0-...-b63e671
Latest Go to latest

The highest tagged major version is .

Published: May 6, 2020 | License: BSD-3-Clause | Module: github.com/bradfitz/shotizam

Overview

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

Index

type File

type File struct {
	*io.SectionReader
	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