MCPcopy
hub / github.com/crowdsecurity/crowdsec / DataRefreshCommand

Struct DataRefreshCommand

pkg/hubops/datarefresh.go:30–32  ·  view source on GitHub ↗

DataRefreshCommand updates the data files associated with the installed hub items.

Source from the content-addressed store, hash-verified

28
29// DataRefreshCommand updates the data files associated with the installed hub items.
30type DataRefreshCommand struct {
31 Force bool
32}
33
34func NewDataRefreshCommand(force bool) *DataRefreshCommand {
35 return &DataRefreshCommand{Force: force}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected