cpiocat

package
v0.0.0-...-ccdbf2e Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Append

func Append(out io.Writer, in io.Reader, filesToAppend []string) (err error)

Append: legacy append call.

Types

type Cat

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

func New

func New(out io.Writer) *Cat

func (*Cat) AppendArch

func (c *Cat) AppendArch(in io.Reader) (r *Cat)

func (*Cat) AppendArchFile

func (c *Cat) AppendArchFile(srcPath string) (r *Cat)

func (*Cat) AppendBytes

func (c *Cat) AppendBytes(content []byte, archPath string, mode cpio.FileMode) (r *Cat)

func (*Cat) AppendFile

func (c *Cat) AppendFile(srcPath, archPath string) (r *Cat)

func (*Cat) Close

func (c *Cat) Close() error

func (*Cat) Err

func (c *Cat) Err() error

Jump to

Keyboard shortcuts

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