fileutils

package
v0.1.13-beta3 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChecksumFile

func ChecksumFile(filepath string) (string, error)

ChecksumFile calculates an SHA256 checksum of a file

func CopyFile

func CopyFile(sourcepath string, destpath string, buffersize int64, overwrite bool) error

CopyFile copies a file

func DownloadFile

func DownloadFile(url string, filepath string) error

DownloadFile downloads a file from a url.

func RemoveFile

func RemoveFile(filepath string) error

RemoveFile deletes a file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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