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

Method Mutation

ent/file_create.go:273–275  ·  view source on GitHub ↗

Mutation returns the FileMutation object of the builder.

()

Source from the content-addressed store, hash-verified

271
272// Mutation returns the FileMutation object of the builder.
273func (fc *FileCreate) Mutation() *FileMutation {
274 return fc.mutation
275}
276
277// Save creates the File in the database.
278func (fc *FileCreate) Save(ctx context.Context) (*File, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected