MCPcopy Create free account
hub / github.com/danielmiessler/Fabric / Setup

Method Setup

internal/tools/patterns_loader.go:82–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80}
81
82func (o *PatternsLoader) Setup() (err error) {
83 if err = o.PluginBase.Setup(); err != nil {
84 return
85 }
86
87 if err = o.PopulateDB(); err != nil {
88 return
89 }
90 return
91}
92
93// PopulateDB downloads patterns from the internet and populates the patterns folder
94func (o *PatternsLoader) PopulateDB() (err error) {

Callers

nothing calls this directly

Calls 2

PopulateDBMethod · 0.95
SetupMethod · 0.65

Tested by

no test coverage detected