Documentation
¶
Overview ¶
Package svfind finds ForeverScribe.lua in the standard WoW: Forever install folders.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Flavors = []string{"_forever_", "_classic_era_", "_retail_"}
Flavors are the game folders searched under a WoW root, in preference order.
Functions ¶
Types ¶
type Result ¶
type Result struct {
Path string // the file picked; empty when none was found
Others []string // the other matches in the same game folder, newest first
Tried []string // the WoW roots that were searched
}
Result is the outcome of a search.
func Detect ¶
func Detect() Result
Detect searches the standard install folders of the running system.
func Find ¶
Find looks under each root, game folder by game folder in Flavors order, for WTF/Account/*/SavedVariables/ForeverScribe.lua. The first game folder with a match wins, and its most recently modified file is the pick.