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

Method SetUser

ent/fsevent_create.go:110–112  ·  view source on GitHub ↗

SetUser sets the "user" edge to the User entity.

(u *User)

Source from the content-addressed store, hash-verified

108
109// SetUser sets the "user" edge to the User entity.
110func (fec *FsEventCreate) SetUser(u *User) *FsEventCreate {
111 return fec.SetUserID(u.ID)
112}
113
114// Mutation returns the FsEventMutation object of the builder.
115func (fec *FsEventCreate) Mutation() *FsEventMutation {

Callers

nothing calls this directly

Calls 1

SetUserIDMethod · 0.95

Tested by

no test coverage detected