test

package
Version: v0.0.0-...-c97c800 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2019 License: BSD-3-Clause Imports: 3 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 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

Source Files

Jump to

Keyboard shortcuts

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