bulk

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeTagger added in v1.4.0

func MakeTagger(fpath string) (wpk.Tagger, error)

MakeTagger creates Tagger object to get access to package nested files.

Types

type SliceFile added in v1.2.0

type SliceFile struct {
	wpk.PkgReader
	// contains filtered or unexported fields
}

SliceFile structure gives access to nested into package file. wpk.RFile interface implementation.

func NewSliceFile added in v1.2.0

func NewSliceFile(bulk []byte, ts wpk.TagsetRaw) (f *SliceFile, err error)

NewSliceFile creates SliceFile file structure based on given tags slice.

func (*SliceFile) Close added in v1.2.0

func (f *SliceFile) Close() error

Close is for fs.File interface compatibility.

func (*SliceFile) Stat added in v1.2.0

func (f *SliceFile) Stat() (fs.FileInfo, error)

Stat is for fs.File interface compatibility.

type Tagger added in v1.4.0

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

Tagger is object to get access to package nested files by reading sections of bytes slice.

func (*Tagger) Close added in v1.4.0

func (tgr *Tagger) Close() error

Close does nothing, there is no any opened handles. Useful for interface compatibility. io.Closer implementation.

func (*Tagger) OpenTagset added in v1.4.0

func (tgr *Tagger) OpenTagset(ts wpk.TagsetRaw) (wpk.RFile, error)

OpenTagset creates file object to give access to nested into package file by given tagset.

Jump to

Keyboard shortcuts

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