archiveinput

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	MaxFiles int
	MaxBytes int64
}

func DefaultOptions

func DefaultOptions() Options

type Result

type Result struct {
	SourcePath  string `json:"source_path"`
	OutputDir   string `json:"output_dir"`
	ContentRoot string `json:"content_root"`
	Files       int    `json:"files"`
	Bytes       int64  `json:"bytes"`
}

func ExtractZIP

func ExtractZIP(inputPath string, outputDir string, options Options) (Result, error)

Jump to

Keyboard shortcuts

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