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

Method SetFileID

ent/metadata_update.go:314–317  ·  view source on GitHub ↗

SetFileID sets the "file_id" field.

(i int)

Source from the content-addressed store, hash-verified

312
313// SetFileID sets the "file_id" field.
314func (muo *MetadataUpdateOne) SetFileID(i int) *MetadataUpdateOne {
315 muo.mutation.SetFileID(i)
316 return muo
317}
318
319// SetNillableFileID sets the "file_id" field if the given value is not nil.
320func (muo *MetadataUpdateOne) SetNillableFileID(i *int) *MetadataUpdateOne {

Callers 2

SetNillableFileIDMethod · 0.95
SetFileMethod · 0.95

Calls 1

SetFileIDMethod · 0.45

Tested by

no test coverage detected