Documentation
¶
Overview ¶
Package archive contains shared helpers for working with tar.gz archives produced by the CLI: byte-size formatting and multipart upload framing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatSize ¶
FormatSize renders a byte count as a compact "B/KB/MB/GB/TB" string.
func WriteArchivePart ¶
WriteArchivePart attaches data as fieldName in writer, using baseName+".tar.gz" as the filename. baseName should be the resource name (e.g. function or frontend name); the helper appends the canonical archive suffix.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.