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

Method SetFileID

ent/mutation.go:1254–1256  ·  view source on GitHub ↗

SetFileID sets the "file_id" field.

(i int)

Source from the content-addressed store, hash-verified

1252
1253// SetFileID sets the "file_id" field.
1254func (m *DirectLinkMutation) SetFileID(i int) {
1255 m.file = &i
1256}
1257
1258// FileID returns the value of the "file_id" field in the mutation.
1259func (m *DirectLinkMutation) FileID() (r int, exists bool) {

Callers 1

SetFieldMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected