extractor

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context added in v0.3.0

type Context interface {
	File() *stingray.File
	Runner() *exec.Runner
	Config() map[string]string
	GetResource(name, typ stingray.Hash) (file *stingray.File, exists bool)
	// Call WriteCloser.Close() when done.
	CreateFile(suffix string) (io.WriteCloser, error)
	// Call WriteCloser.Close() when done.
	CreateFileDir(dirSuffix, filename string) (io.WriteCloser, error)
	OutPath() (string, error)
}

type ExtractFunc

type ExtractFunc func(ctx Context) error

func ExtractFuncRaw added in v0.1.7

func ExtractFuncRaw(suffix string, types ...stingray.DataType) ExtractFunc

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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