Documentation
¶
Overview ¶
Package archive packages the SQLite database and manifest into the final .tar.gz artifact.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
Result describes the archive on disk after a successful WriteTarGz call. SHA256 is the lowercase hex digest of the .tar.gz bytes, computed in the same pass that wrote the file so callers do not have to re-read it.
func WriteTarGz ¶
WriteTarGz writes a gzip-compressed tar of the named files. The keys of files are paths on disk; the values are the names to use inside the archive. Files are written in name-in-archive sort order for deterministic output. The returned Result carries the on-disk size and the SHA256 of the .tar.gz, both computed during this call.