system

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAndCreateDir added in v0.6.0

func CheckAndCreateDir(path string) error

CheckAndCreateDir 检查指定路径的文件夹是否存在,如果不存在则创建它。

func CheckIsDir added in v0.5.8

func CheckIsDir(path string) (bool, error)

func CleanAndCreateDir added in v0.5.8

func CleanAndCreateDir(dirPath string) error

func CopyDir added in v0.5.8

func CopyDir(srcDir, dstDir string) error

func CopyFile added in v0.5.8

func CopyFile(srcFile, destFile string) error

func GetLevelSavFilePath added in v0.5.8

func GetLevelSavFilePath(path string) (string, error)

func GetLocalIP

func GetLocalIP() (string, error)

func GetSavDir added in v0.5.8

func GetSavDir(path string) (string, error)

func UnzipDir added in v0.5.8

func UnzipDir(zipFile, destDir string) error

func ZipDir added in v0.5.8

func ZipDir(srcDir, zipFilePath string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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