util

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(src, dst string, bufferSize int64) (string, error)

func CreateDir

func CreateDir(dirName string) error

func DeleteFile

func DeleteFile(filename string) error

func DownloadFile

func DownloadFile(url string, dstPath string) error

func GetFileSize

func GetFileSize(filename string) (int64, error)

func GetSha256Checksum

func GetSha256Checksum(filename string) (string, error)

func IsDirExists

func IsDirExists(dirName string) bool

func IsFileExists

func IsFileExists(filename string) bool

func IsURL

func IsURL(str string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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