tools

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComputeSHA256sum

func ComputeSHA256sum(file fs.Path) (string, error)

ComputeSHA256sum ...

func ComputeSHA256sumForBytes added in v0.0.2

func ComputeSHA256sumForBytes(b []byte) string

ComputeSHA256sumForBytes ...

func ResolveConfig added in v0.0.2

func ResolveConfig(props collection.Properties) error

ResolveConfig 解析配置中的变量

func Unzip

func Unzip(from, to fs.Path) error

Unzip 解压zip文件,@from=zip-file, @to=dest-dir

func Zip

func Zip(from, to fs.Path, override bool) error

Zip 生成zip文件,@to=zip-file, @from=src-dir

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL