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

Method SetProps

ent/share_create.go:141–144  ·  view source on GitHub ↗

SetProps sets the "props" field.

(tp *types.ShareProps)

Source from the content-addressed store, hash-verified

139
140// SetProps sets the "props" field.
141func (sc *ShareCreate) SetProps(tp *types.ShareProps) *ShareCreate {
142 sc.mutation.SetProps(tp)
143 return sc
144}
145
146// SetUserID sets the "user" edge to the User entity by ID.
147func (sc *ShareCreate) SetUserID(id int) *ShareCreate {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected