unsit

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractFile

func ExtractFile(ctx context.Context, targetDirectory string, filename string, reporter progress.Reporter) error

func ExtractFromReader

func ExtractFromReader(ctx context.Context, targetDirectory string, stream io.Reader, reporter progress.Reporter) error

ExtractFromReader writes a StuffIt stream to a temporary file, then extracts it. StuffIt files require seeking so cannot be streamed directly.

func TopLevelEntries added in v1.2.0

func TopLevelEntries(ctx context.Context, filename string, limit int) ([]string, error)

TopLevelEntries returns the unique top-level path components in a StuffIt archive.

Types

This section is empty.

Jump to

Keyboard shortcuts

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