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

Method Mutation

ent/node_create.go:158–160  ·  view source on GitHub ↗

Mutation returns the NodeMutation object of the builder.

()

Source from the content-addressed store, hash-verified

156
157// Mutation returns the NodeMutation object of the builder.
158func (nc *NodeCreate) Mutation() *NodeMutation {
159 return nc.mutation
160}
161
162// Save creates the Node in the database.
163func (nc *NodeCreate) Save(ctx context.Context) (*Node, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected