shotizam: Index | Files

package ar

import ""

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


Package Files


type File Uses

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