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

Method ClearFile

ent/entity_update.go:735–738  ·  view source on GitHub ↗

ClearFile clears all "file" edges to the File entity.

()

Source from the content-addressed store, hash-verified

733
734// ClearFile clears all "file" edges to the File entity.
735func (euo *EntityUpdateOne) ClearFile() *EntityUpdateOne {
736 euo.mutation.ClearFile()
737 return euo
738}
739
740// RemoveFileIDs removes the "file" edge to File entities by IDs.
741func (euo *EntityUpdateOne) RemoveFileIDs(ids ...int) *EntityUpdateOne {

Callers

nothing calls this directly

Calls 1

ClearFileMethod · 0.45

Tested by

no test coverage detected