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

Method Mutation

ent/share_create.go:185–187  ·  view source on GitHub ↗

Mutation returns the ShareMutation object of the builder.

()

Source from the content-addressed store, hash-verified

183
184// Mutation returns the ShareMutation object of the builder.
185func (sc *ShareCreate) Mutation() *ShareMutation {
186 return sc.mutation
187}
188
189// Save creates the Share in the database.
190func (sc *ShareCreate) Save(ctx context.Context) (*Share, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected