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

Method FileCleared

ent/mutation.go:6786–6788  ·  view source on GitHub ↗

FileCleared reports if the "file" edge to the File entity was cleared.

()

Source from the content-addressed store, hash-verified

6784
6785// FileCleared reports if the "file" edge to the File entity was cleared.
6786func (m *MetadataMutation) FileCleared() bool {
6787 return m.clearedfile
6788}
6789
6790// FileIDs returns the "file" edge IDs in the mutation.
6791// Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected