MCPcopy Create free account
hub / github.com/fogleman/nes / init

Function init

ui/util.go:25–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23var homeDir string
24
25func init() {
26 u, err := user.Current()
27 if err != nil {
28 log.Fatalln(err)
29 }
30 homeDir = u.HomeDir
31}
32
33func thumbnailURL(hash string) string {
34 return "http://www.michaelfogleman.com/static/nes/" + hash + ".png"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…