binaries

package
v0.0.0-...-a6bde1d Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Binaries

type Binaries struct {
	Generations []Generation
}

Binaries is the set of binary references in a TAR files grouped by generation and segment.

func (*Binaries) ReadFrom

func (binaries *Binaries) ReadFrom(r io.Reader) (int64, error)

ReadFrom reads the binary references from its serialized representation. Returns the number of bytes read and an optional error.

type Generation

type Generation struct {
	Generation     int
	FullGeneration int
	Compacted      bool
	Segments       []Segment
}

Generation is the set of binary references belonging to a specific generation. The binary references are grouped by segment.

type Segment

type Segment struct {
	Msb        uint64
	Lsb        uint64
	References []string
}

Segment is the set of binary references belonging to a specific segment.

Jump to

Keyboard shortcuts

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