fstools

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AppDataDir  string
	L10nGitDir  string
	L10nBtDir   string
	L10nPcdnDir string
)

Functions

func CopyTo added in v0.0.8

func CopyTo(src, dstDir string) error

复制 me 至 /a/b/d 目录下: src: /a/b/c/me dstDir: /a/b/d

func GetAvaliableGameDirsByRsiLog

func GetAvaliableGameDirsByRsiLog() (result []string, err error)

从启动器日志获取可用的游戏目录

func GetExeDirPath

func GetExeDirPath() (exePath string)

执行文件目录

func GetGamePath

func GetGamePath(str string, isNeedLIVE bool) string

func HideFile

func HideFile(filename string) error

func InitBusiDataDir

func InitBusiDataDir() (err error)

缓存都放在这 注意初始化

func IsGamePathAvaliable

func IsGamePathAvaliable(path string) bool

func ScanFiles added in v0.0.8

func ScanFiles(loc string) (paths []string, isDirs []bool, err error)

func ScanTree

func ScanTree(root string) (pathList []string, err error)

Types

type RSILogJson

type RSILogJson struct {
	Time string `json:"t" `
	Info string `json:"info"`
}

Jump to

Keyboard shortcuts

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