ar

package
v0.0.0-...-0c67c3b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL