Documentation
¶
Overview ¶
Package stream decodes the compressed data portions described by the parser's internal format model. It intentionally knows nothing about output paths or installation semantics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Extract ¶
func Extract(r io.ReaderAt, a *format.Archive, opts Options, verifyOnly bool) ([]Result, []Failure, error)
Extract decodes all files described by a parsed archive. It returns successful files and file-local failures separately so callers can report a useful partial result. Password and archive-wide format errors are returned as the final error.
Types ¶
type Failure ¶
Failure contains a file-local extraction failure. Archive-wide structural errors are returned as the third result from Extract.
Click to show internal directories.
Click to hide internal directories.