Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(reg *execution.ActionRegistry)
Register registers all archive actions with the given registry.
Types ¶
type Extract ¶
type Extract struct{ Impl *Provider }
Extract — Extract extracts an archive (tar.gz or zip) from source into the prefix directory. The archive format is detected from the file extension. Returns compensation state with the list of created files.
type Provider ¶
type Provider struct{}
Provider provides archive extraction actions.
Compensable Forward methods return (map[string]any, error). The map is the compensation receipt — opaque to the executor, meaningful only to the corresponding Compensate* Backward method.
func (*Provider) CompensateExtract ¶
CompensateExtract removes files created during extraction, then cleans up empty directories under dest.
Click to show internal directories.
Click to hide internal directories.