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

Method FileID

ent/mutation.go:6713–6719  ·  view source on GitHub ↗

FileID returns the value of the "file_id" field in the mutation.

()

Source from the content-addressed store, hash-verified

6711
6712// FileID returns the value of the "file_id" field in the mutation.
6713func (m *MetadataMutation) FileID() (r int, exists bool) {
6714 v := m.file
6715 if v == nil {
6716 return
6717 }
6718 return *v, true
6719}
6720
6721// OldFileID returns the old "file_id" field's value of the Metadata entity.
6722// If the Metadata object wasn't provided to the builder, the object is fetched from the database.

Callers 1

FieldMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected