file

package
v0.0.0-...-0988648 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateSHA256

func CalculateSHA256(filePath string) (string, error)

CalculateSHA256 计算文件的 SHA-256 哈希值

func Copy

func Copy(src, dest string) error

Copy 复制文件

func CopyAndVerify

func CopyAndVerify(src, dest, srcHash string) error

CopyAndVerify 复制文件并校验

func CopyFS

func CopyFS(fs embed.FS, fsName string, dest string) error

CopyFS 从嵌入文件中复

Types

This section is empty.

Jump to

Keyboard shortcuts

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