MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / SetSource

Method SetSource

ent/entity_update.go:563–566  ·  view source on GitHub ↗

SetSource sets the "source" field.

(s string)

Source from the content-addressed store, hash-verified

561
562// SetSource sets the "source" field.
563func (euo *EntityUpdateOne) SetSource(s string) *EntityUpdateOne {
564 euo.mutation.SetSource(s)
565 return euo
566}
567
568// SetNillableSource sets the "source" field if the given value is not nil.
569func (euo *EntityUpdateOne) SetNillableSource(s *string) *EntityUpdateOne {

Callers 1

SetNillableSourceMethod · 0.95

Calls 1

SetSourceMethod · 0.65

Tested by

no test coverage detected