blackhole

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blackhole

type Blackhole struct{}

func New

func New() *Blackhole

func (*Blackhole) Copy added in v1.6.0

func (*Blackhole) Copy(_, _ string) error

func (*Blackhole) Delete

func (*Blackhole) Delete(_ string) error

func (*Blackhole) FileStat added in v1.4.0

func (*Blackhole) FileStat(_ string) (inf storage.FileInfo, err error)

func (*Blackhole) List added in v1.3.0

func (*Blackhole) List(_, _ string) ([]storage.FileInfo, error)

func (*Blackhole) Save

func (*Blackhole) Save(_ string, data io.Reader, _ int) error

func (*Blackhole) SourceReader

func (*Blackhole) SourceReader(name string) (io.ReadCloser, error)

type NopReadCloser

type NopReadCloser struct{}

NopReadCloser is a no operation ReadCloser

func (NopReadCloser) Close

func (NopReadCloser) Close() error

func (NopReadCloser) Read

func (NopReadCloser) Read(b []byte) (int, error)

Jump to

Keyboard shortcuts

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