Documentation
¶
Overview ¶
Package fix contains functions for repairing the database data.
Index ¶
Constants ¶
View Source
const Trainer = "gamehack"
View Source
const (
UpdateSet = "UPDATE files SET "
)
Variables ¶
View Source
var ErrRepair = errors.New("invalid repair option")
View Source
var FixesMap = map[string]string{ // contains filtered or unexported fields }
View Source
var (
FixesMapUpper map[string]string
)
Functions ¶
func GetFixesMapUpper ¶ added in v1.10.3
GetFixesMapUpper lazily initializes and returns the uppercase fixes map.
func Magics ¶ added in v0.17.0
func Magics(exec boil.ContextExecutor) error
Magics will set invalid file_magic_type to NULL. Invalid file_magic_type values are those that start with "ERROR: " or contain a "/" such as a mime-type.
func SyncFilesIDSeq ¶ added in v1.0.6
SyncFilesIDSeq will synchronize the files ID sequence with the current maximum ID.
This will only work with the correct database account permissions.
Types ¶
Click to show internal directories.
Click to hide internal directories.