files

package
v0.0.0-...-ed41999 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheMapset

func CacheMapset(mapset *db.Mapset) (string, error)

CacheMapset Caches a mapset file and returns the path to it

func CacheQuaFile

func CacheQuaFile(mapQua *db.MapQua) (string, error)

CacheQuaFile Caches a .qua file. Returns the path of the file

func CacheReplay

func CacheReplay(scoreId int) (string, error)

CacheReplay Caches a replay file and returns the path to it

func CreateDirectories

func CreateDirectories()

CreateDirectories Creates the directories needed for the cache

func GetBackupsDirectory

func GetBackupsDirectory() string

func GetByteSliceMD5

func GetByteSliceMD5(data []byte) string

GetByteSliceMD5 Gets the MD5 hash of a byte array

func GetFileMD5

func GetFileMD5(path string) (string, error)

GetFileMD5 Gets the MD% hash of a given file

func GetTempDirectory

func GetTempDirectory() string

func UnzipArchive

func UnzipArchive(zipPath string, outputPath string) error

UnzipArchive Unzips an archive to an output path

Types

This section is empty.

Jump to

Keyboard shortcuts

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