MCPcopy Index your code
hub / github.com/crowdsecurity/crowdsec / SetVersion

Method SetVersion

pkg/database/ent/mutation.go:9204–9206  ·  view source on GitHub ↗

SetVersion sets the "version" field.

(s string)

Source from the content-addressed store, hash-verified

9202
9203// SetVersion sets the "version" field.
9204func (m *MachineMutation) SetVersion(s string) {
9205 m.version = &s
9206}
9207
9208// Version returns the value of the "version" field in the mutation.
9209func (m *MachineMutation) Version() (r string, exists bool) {

Callers 1

SetFieldMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected