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

Method Mutation

ent/metadata_create.go:106–108  ·  view source on GitHub ↗

Mutation returns the MetadataMutation object of the builder.

()

Source from the content-addressed store, hash-verified

104
105// Mutation returns the MetadataMutation object of the builder.
106func (mc *MetadataCreate) Mutation() *MetadataMutation {
107 return mc.mutation
108}
109
110// Save creates the Metadata in the database.
111func (mc *MetadataCreate) Save(ctx context.Context) (*Metadata, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected