multifile

package
v0.0.0-...-b0fb426 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompressWriter

type CompressWriter struct {
	*os.File
	Writer io.WriteCloser
}

func NewCompressWriter

func NewCompressWriter(file *os.File, writer io.WriteCloser) *CompressWriter

func (*CompressWriter) Close

func (cw *CompressWriter) Close() error

func (*CompressWriter) Write

func (cw *CompressWriter) Write(p []byte) (int, error)

type FileLike

type FileLike interface {
	io.WriteCloser
	Name() string
}

type MultiFile

type MultiFile struct {
	io.Writer
	// contains filtered or unexported fields
}

func NewMultiFile

func NewMultiFile(files ...FileLike) *MultiFile

func (*MultiFile) Chtimes

func (mf *MultiFile) Chtimes(mtime time.Time) errors.E

func (*MultiFile) Close

func (mf *MultiFile) Close() error

func (*MultiFile) Name

func (mf *MultiFile) Name() string

Jump to

Keyboard shortcuts

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