containermatcher

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2016 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Zip containerType = iota
	Mscfb
)

Variables

This section is empty.

Functions

func Load

func Load(ls *persist.LoadSaver) core.Matcher

func Save

func Save(c core.Matcher, ls *persist.LoadSaver)

Types

type ContainerMatcher

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

func (*ContainerMatcher) String

func (c *ContainerMatcher) String() string

type Matcher

type Matcher []*ContainerMatcher

func (Matcher) Identify

func (m Matcher) Identify(n string, b *siegreader.Buffer, exclude ...int) (chan core.Result, error)

func (Matcher) InspectTestTree

func (m Matcher) InspectTestTree(ct int, nm string, idx int) []int

func (Matcher) String

func (m Matcher) String() string

type Reader

type Reader interface {
	Next() error  // when finished, should return io.EOF
	Name() string // return name of the object with paths concatenated with / character
	SetSource(*siegreader.Buffers) (*siegreader.Buffer, error)
	Close() // close files
}

type SignatureSet

type SignatureSet struct {
	Typ       containerType
	NameParts [][]string
	SigParts  [][]frames.Signature
}

Jump to

Keyboard shortcuts

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