Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Unzipper ¶
type Unzipper struct {
// contains filtered or unexported fields
}
Unzipper is a Runner that will unzip a file
func Unzip ¶
func Unzip() *Unzipper
Unzip receives an os.File and will Unzip it, emitting the files within
It is selectable, allowing you to use a Regex to filter said files
func (*Unzipper) OnAdd ¶
OnAdd implements ingest.OnAdd for Unzipper
It will configure the ingest.Opener to have a tmp Directory (needed since zips need random access) If it is not already configured to do so.
func (*Unzipper) SetSelection ¶
SetSelection implements ingest.Selectable for Unzipper
It will filter the contents of the extracted files for file names that match the regex provided by the selection
func (*Unzipper) SkipAbortErr ¶
SkipAbortErr saves us having to send nil errors back on abort
Click to show internal directories.
Click to hide internal directories.