test

package
v7.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2020 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadArchive

func ReadArchive(path string) (*cpio.Archive, error)

Types

type ArchiveValidator

type ArchiveValidator interface {
	Validate(a *cpio.Archive) error
}

type HasContent

type HasContent struct {
	Path    string
	Content string
}

func (HasContent) Validate

func (hc HasContent) Validate(a *cpio.Archive) error

type HasFile

type HasFile struct {
	Path string
}

func (HasFile) Validate

func (hf HasFile) Validate(a *cpio.Archive) error

type HasRecord

type HasRecord struct {
	R cpio.Record
}

func (HasRecord) Validate

func (hr HasRecord) Validate(a *cpio.Archive) error

type IsEmpty

type IsEmpty struct{}

func (IsEmpty) Validate

func (IsEmpty) Validate(a *cpio.Archive) error

type MissingFile

type MissingFile struct {
	Path string
}

func (MissingFile) Validate

func (mf MissingFile) Validate(a *cpio.Archive) error

Jump to

Keyboard shortcuts

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