Documentation ¶ Index ¶ func Create(writer io.Writer, filePaths []string) (int, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Create ¶ func Create(writer io.Writer, filePaths []string) (int, error) Create adds the provided file paths to a tar archive, compresses the archive using gzip, and writes it to the provided writer. It returns the number of files added to the archive, and an error if one occurred. Types ¶ This section is empty. Source Files ¶ View all Source files tar.go Click to show internal directories. Click to hide internal directories.