zfile

package module
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: AGPL-3.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(path string) (io.WriteCloser, error)

func Open

func Open(path string) (io.ReadCloser, error)

func SupportedCreate

func SupportedCreate() []string

func SupportedOpen

func SupportedOpen() []string

Types

type Bzip2ReadCloser

type Bzip2ReadCloser struct {
	*bufio.Reader
	// contains filtered or unexported fields
}

func OpenBzip2

func OpenBzip2(path string) (*Bzip2ReadCloser, error)

func (*Bzip2ReadCloser) Close

func (g *Bzip2ReadCloser) Close() error

type GzReadCloser

type GzReadCloser struct {
	*bufio.Reader
	// contains filtered or unexported fields
}

func OpenGz

func OpenGz(path string) (*GzReadCloser, error)

func (*GzReadCloser) Close

func (g *GzReadCloser) Close() error

type GzWriteCloser

type GzWriteCloser struct {
	*bufio.Writer
	// contains filtered or unexported fields
}

func CreateGz

func CreateGz(path string) (*GzWriteCloser, error)

func (*GzWriteCloser) Close

func (g *GzWriteCloser) Close() error

type XzReadCloser

type XzReadCloser struct {
	*bufio.Reader
	// contains filtered or unexported fields
}

func OpenXz

func OpenXz(path string) (*XzReadCloser, error)

func (*XzReadCloser) Close

func (g *XzReadCloser) Close() error

type XzWriteCloser

type XzWriteCloser struct {
	*bufio.Writer
	// contains filtered or unexported fields
}

func CreateXz

func CreateXz(path string) (*XzWriteCloser, error)

func (*XzWriteCloser) Close

func (g *XzWriteCloser) Close() error

Jump to

Keyboard shortcuts

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