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

Method SetSpeed

ent/directlink_create.go:87–90  ·  view source on GitHub ↗

SetSpeed sets the "speed" field.

(i int)

Source from the content-addressed store, hash-verified

85
86// SetSpeed sets the "speed" field.
87func (dlc *DirectLinkCreate) SetSpeed(i int) *DirectLinkCreate {
88 dlc.mutation.SetSpeed(i)
89 return dlc
90}
91
92// SetFile sets the "file" edge to the File entity.
93func (dlc *DirectLinkCreate) SetFile(f *File) *DirectLinkCreate {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected