MCPcopy Create free account
hub / github.com/TruthHun/BookStack / init

Function init

models/sign.go:49–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47)
48
49func init() {
50 if _, err := os.Stat(signCacheDir); err != nil {
51 err = os.MkdirAll(signCacheDir, os.ModePerm)
52 if err != nil {
53 panic(err)
54 }
55 }
56}
57
58func NewSign() *Sign {
59 return &Sign{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected