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

Method Mutation

ent/directlink_create.go:98–100  ·  view source on GitHub ↗

Mutation returns the DirectLinkMutation object of the builder.

()

Source from the content-addressed store, hash-verified

96
97// Mutation returns the DirectLinkMutation object of the builder.
98func (dlc *DirectLinkCreate) Mutation() *DirectLinkMutation {
99 return dlc.mutation
100}
101
102// Save creates the DirectLink in the database.
103func (dlc *DirectLinkCreate) Save(ctx context.Context) (*DirectLink, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected