reader

package
v0.0.0-...-3ce85d1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindByDigest

func FindByDigest(conf *config.Config, fs afero.Fs, digest string) (*vindexdata.VIndexItem, bool, error)

FindByDigest FindByDigest

func FindByFullPath

func FindByFullPath(conf *config.Config, fs afero.Fs, path string) (*vindexdata.VIndexItem, bool, error)

FindByFullPath FindByFullPath

func ReadAll

func ReadAll(fs afero.Fs, vindexPath string) (vindexdata.VIndex, error)

ReadAll ReadAll

Types

type AbstructReader

type AbstructReader interface {
	io.ReaderAt
	io.Closer
}

AbstructReader AbstructReader

func NewAbstructReaderFromBytes

func NewAbstructReaderFromBytes(data []byte) AbstructReader

NewAbstructReaderFromBytes NewAbstructReaderFromBytes

func NewAbstructReaderFromFile

func NewAbstructReaderFromFile(fs afero.Fs, vindexPath string) (AbstructReader, error)

NewAbstructReaderFromFile NewAbstructReaderFromFile

type BytesBuffer

type BytesBuffer struct {
	*bytes.Reader
	// contains filtered or unexported fields
}

BytesBuffer BytesBuffer

func (*BytesBuffer) Close

func (buf *BytesBuffer) Close() error

Close Close

Jump to

Keyboard shortcuts

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