MCPcopy
hub / github.com/cloudreve/cloudreve / MetadataCleared

Method MetadataCleared

ent/mutation.go:3801–3803  ·  view source on GitHub ↗

MetadataCleared reports if the "metadata" edge to the Metadata entity was cleared.

()

Source from the content-addressed store, hash-verified

3799
3800// MetadataCleared reports if the "metadata" edge to the Metadata entity was cleared.
3801func (m *FileMutation) MetadataCleared() bool {
3802 return m.clearedmetadata
3803}
3804
3805// RemoveMetadatumIDs removes the "metadata" edge to the Metadata entity by IDs.
3806func (m *FileMutation) RemoveMetadatumIDs(ids ...int) {

Callers 2

sqlSaveMethod · 0.80
sqlSaveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected