fileutil

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile added in v1.2.0

func CopyFile(srcFilePath string, destFilePath string) (int64, error)

func PathExists

func PathExists(path string) (bool, error)

PathExists 判断文件或目录是否存在 根据路径获取文件描述符: 如果未返回错误, 表示存在 如果返回错误且错误信息指示了不存在, 则返回 false,nil;如果是其他错误类型返回false,err

Types

This section is empty.

Jump to

Keyboard shortcuts

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