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

Method RemoveFileIDs

ent/entity_update.go:262–265  ·  view source on GitHub ↗

RemoveFileIDs removes the "file" edge to File entities by IDs.

(ids ...int)

Source from the content-addressed store, hash-verified

260
261// RemoveFileIDs removes the "file" edge to File entities by IDs.
262func (eu *EntityUpdate) RemoveFileIDs(ids ...int) *EntityUpdate {
263 eu.mutation.RemoveFileIDs(ids...)
264 return eu
265}
266
267// RemoveFile removes "file" edges to File entities.
268func (eu *EntityUpdate) RemoveFile(f ...*File) *EntityUpdate {

Callers 2

RemoveFileMethod · 0.95
RemoveFileIDsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected