Documentation ¶
Overview ¶
Package tar provides utilities to extract tar archives
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Clean ¶
Clean remove all files and directories in the destination path but not the destination path itself
func Extract ¶
Extract extracts a tar archive to the given destination path
Note on security: This function does not currently attempt to fully mitigate zip-slip attacks. This is purposeful as the archive is extracted only after its SHA256 hash has been validated against its reference in the package catalog. This catalog is itself sent over Remote Config which guarantees its integrity.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.