package
2.0.1+incompatible
Repository: https://github.com/bcbchain/toolbox.git
Documentation: pkg.go.dev

# Functions

CheckSha2 verify the file's sha256sum, confirm it's not modified.
CopyDir copy files and sub dirs in srcPath dir to destPath dir, srcPath and destPath must exist.
CopyFile copy src file to dest.
MakeDir make dir with Permission 0777.
PathExists returns whether the given file or directory exists or not.
No description provided by the author
Sha2Gen generate a sha256sum file for file "a" with filename "a.sha2".
TarGz tar for srcPath and create destFile flag = 0,not contains srcPath dir, flag = 1, contains srcPath.
UnTarGz takes a destination path and a reader; a tar reader loops over the tar.gz file creating the file structure at 'dst' along the way, and writing any files nolint gocyclo // 這個方法鬼子寫的,抄來的,不改了.