Documentation
¶
Index ¶
- func CacheMapset(mapset *db.Mapset) (string, error)
- func CacheQuaFile(mapQua *db.MapQua) (string, error)
- func CacheReplay(scoreId int) (string, error)
- func CreateDirectories()
- func GetBackupsDirectory() string
- func GetByteSliceMD5(data []byte) string
- func GetFileMD5(path string) (string, error)
- func GetTempDirectory() string
- func UnzipArchive(zipPath string, outputPath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheMapset ¶
CacheMapset Caches a mapset file and returns the path to it
func CacheQuaFile ¶
CacheQuaFile Caches a .qua file. Returns the path of the file
func CacheReplay ¶
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 ¶
GetByteSliceMD5 Gets the MD5 hash of a byte array
func GetFileMD5 ¶
GetFileMD5 Gets the MD% hash of a given file
func GetTempDirectory ¶
func GetTempDirectory() string
func UnzipArchive ¶
UnzipArchive Unzips an archive to an output path
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.