file

package
v1.2.2-beta3 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2021 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Package file 文件实用工具

Index

Constants

This section is empty.

Variables

View Source
var BOTPATH = Pwd()

BOTPATH BOT当前路径

Functions

func DownloadTo

func DownloadTo(url, file string, chkcrt bool) error

DownloadTo 下载到路径

func GetLazyData

func GetLazyData(path string, isReturnDataBytes, isDataMustEqual bool) ([]byte, error)

func IsExist

func IsExist(path string) bool

IsExist 文件/路径存在

func IsNotExist

func IsNotExist(path string) bool

IsNotExist 文件/路径不存在

func Pwd

func Pwd() (path string)

Pwd 获取当前路径

Types

This section is empty.

Jump to

Keyboard shortcuts

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