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

Method SetFileID

ent/mutation.go:6708–6710  ·  view source on GitHub ↗

SetFileID sets the "file_id" field.

(i int)

Source from the content-addressed store, hash-verified

6706
6707// SetFileID sets the "file_id" field.
6708func (m *MetadataMutation) SetFileID(i int) {
6709 m.file = &i
6710}
6711
6712// FileID returns the value of the "file_id" field in the mutation.
6713func (m *MetadataMutation) FileID() (r int, exists bool) {

Callers 1

SetFieldMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected