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

Method FilesCleared

ent/mutation.go:13421–13423  ·  view source on GitHub ↗

FilesCleared reports if the "files" edge to the File entity was cleared.

()

Source from the content-addressed store, hash-verified

13419
13420// FilesCleared reports if the "files" edge to the File entity was cleared.
13421func (m *StoragePolicyMutation) FilesCleared() bool {
13422 return m.clearedfiles
13423}
13424
13425// RemoveFileIDs removes the "files" edge to the File entity by IDs.
13426func (m *StoragePolicyMutation) RemoveFileIDs(ids ...int) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected