files

package
v0.3.13 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2025 License: GPL-3.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(srcFile, dstFile string) (written int64, err error)

Copy 复制文件

func CopyWithBuf

func CopyWithBuf(src, dst string, BUFFERSIZE int64) error

CopyWithBuf 复制文件 缓冲区

func Exists

func Exists(path string) bool

Exists 判断所给路径文件/文件夹是否存在

func IsDir

func IsDir(path string) bool

IsDir 判断所给路径是否为文件夹

func URL

func URL(url string) (*[]byte, error)

func URLReader

func URLReader(url string) (r *bytes.Reader, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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