utils

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: GPL-3.0, LGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanWriteDir

func CanWriteDir(p string) bool

func CopyDir

func CopyDir(src, dst string) error

func CreateDir

func CreateDir(path string) error

func DirExists

func DirExists(path string) bool

func DirSize

func DirSize(path string) int64

func FileExists

func FileExists(path string) bool

func GetAppDataPath

func GetAppDataPath() string

func GetDirNames

func GetDirNames(path string) []string

func GetLastDirName

func GetLastDirName(path string) string

func GetMinecraftGDKDataPath

func GetMinecraftGDKDataPath(ispreview bool) string

func JsonCompatBytes added in v0.0.17

func JsonCompatBytes(data []byte) []byte

func RemoveDir

func RemoveDir(path string) error

func SanitizeFilename

func SanitizeFilename(name string) string

func ZipDir

func ZipDir(srcDir, destZip 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