PathHelper

package
v1.1.162 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(src, dist string, perm fs.FileMode) error

* 复制文件

func GetCurrentPath

func GetCurrentPath() string

* aqt获b取当前项目录

func GetPathSeparator

func GetPathSeparator() string

* 获取目录分隔

func MkDirs

func MkDirs(pathStr string) (string, error)

func SaveFile

func SaveFile(filePath string, src io.Reader) (*os.File, error)

* 保存文件

Types

This section is empty.

Jump to

Keyboard shortcuts

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