package
Version:
v0.0.0-...-4a985ec
Opens a new window with list of versions in this module.
Published: May 6, 2022
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Create 把 filePaths 里的全部文件打包压缩, 新建文件 tarballFilePath.
Reader 用来帮助读取 tarball 内容.
主要是为了更方便地关闭资源.
NewReader 返回一个新的 *tarball.Reader.
包括打开文件以及相关 reader.
Close 依次关闭 tr 里的 各个 reader, 并把错误合并后返回.
Sha512 返回一个 tarball 里面全部文件的 SHA512 checksum.
只适用于 tarball 里只有文件, 没有文件夹的情况.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.