Documentation
¶
Overview ¶
Keeps track of the versions of mods installed using SWkshp.
Each mod folder has its own ".swkshp.db" database
Index ¶
Constants ¶
View Source
const DBName string = ".swkshp.db"
Variables ¶
This section is empty.
Functions ¶
func CreateDBFromGame ¶
func CreateDBFromPath ¶
Types ¶
type Entry ¶
type Entry struct {
ID int64 `db:"id"` // Workshop ID.
Path string `db:"path"` // Relative path from game mod directory as given by config
Sum []byte `db:"sum"` // 16 byte MD5 checksum.
Updated time.Time `db:"updated"` // Timestamp of the last time it was changed.
}
Click to show internal directories.
Click to hide internal directories.