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

Method AddType

ent/entity_update.go:557–560  ·  view source on GitHub ↗

AddType adds i to the "type" field.

(i int)

Source from the content-addressed store, hash-verified

555
556// AddType adds i to the "type" field.
557func (euo *EntityUpdateOne) AddType(i int) *EntityUpdateOne {
558 euo.mutation.AddType(i)
559 return euo
560}
561
562// SetSource sets the "source" field.
563func (euo *EntityUpdateOne) SetSource(s string) *EntityUpdateOne {

Callers

nothing calls this directly

Calls 1

AddTypeMethod · 0.45

Tested by

no test coverage detected