copy

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrUnknownSource indicates that the source directory was not found.
	ErrUnknownSource = errors.New("copy: unknown source")
)

Functions

This section is empty.

Types

type Copier added in v0.24.0

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

func New added in v0.24.0

func New(logger *log.Logger) *Copier

func (*Copier) CopyDir added in v0.24.0

func (c *Copier) CopyDir(ctx context.Context, src, dest string) error

func (*Copier) CopyFile added in v0.24.0

func (c *Copier) CopyFile(ctx context.Context, src, dest string) error

Jump to

Keyboard shortcuts

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