Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFS ¶
addFS adds the files from fs.FS to the archive. It walks the directory tree starting at the root of the filesystem adding each file to the tar archive while maintaining the directory structure.
NOTE: this function is copied from the Go standard library's tar package, and modified to add the header sanitization logic to avoid leaking local file system information and ensure reproducible output.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.