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

Method SetNillableUpdatedAt

ent/fsevent_create.go:48–53  ·  view source on GitHub ↗

SetNillableUpdatedAt sets the "updated_at" field if the given value is not nil.

(t *time.Time)

Source from the content-addressed store, hash-verified

46
47// SetNillableUpdatedAt sets the "updated_at" field if the given value is not nil.
48func (fec *FsEventCreate) SetNillableUpdatedAt(t *time.Time) *FsEventCreate {
49 if t != nil {
50 fec.SetUpdatedAt(*t)
51 }
52 return fec
53}
54
55// SetDeletedAt sets the "deleted_at" field.
56func (fec *FsEventCreate) SetDeletedAt(t time.Time) *FsEventCreate {

Callers

nothing calls this directly

Calls 1

SetUpdatedAtMethod · 0.95

Tested by

no test coverage detected