manager

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	LoadRaw(ctx context.Context) (io.ReadCloser, error)
	LoadC1Z(ctx context.Context) (*dotc1z.C1File, error)
	SaveC1Z(ctx context.Context) error
	Close(ctx context.Context) error
}

func New

func New(ctx context.Context, filePath string, opts ...ManagerOption) (Manager, error)

Given a file path, return a Manager that can read and write files to that path.

Previously, this supported S3. This was never used, and has been removed.

type ManagerOption added in v0.1.8

type ManagerOption func(*managerOptions)

func WithDecoderOptions added in v0.3.50

func WithDecoderOptions(opts ...dotc1z.DecoderOption) ManagerOption

func WithTmpDir added in v0.1.8

func WithTmpDir(tmpDir string) ManagerOption

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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