shotizam: github.com/bradfitz/shotizam/ar Index | Files

package ar

import "github.com/bradfitz/shotizam/ar"

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

Index

Package Files

ar.go

type File Uses

type File struct {
    *io.SectionReader
    Name string
    Size int64
}

type Reader Uses

type Reader struct {
    // contains filtered or unexported fields
}

func NewReader Uses

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

func (*Reader) Next Uses

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

Next returns the next file or an error.

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

Package ar imports 6 packages (graph) and is imported by 1 packages. Updated 2020-07-24. Refresh now. Tools for package owners.