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

Method ClearFile

ent/share_update.go:610–613  ·  view source on GitHub ↗

ClearFile clears the "file" edge to the File entity.

()

Source from the content-addressed store, hash-verified

608
609// ClearFile clears the "file" edge to the File entity.
610func (suo *ShareUpdateOne) ClearFile() *ShareUpdateOne {
611 suo.mutation.ClearFile()
612 return suo
613}
614
615// Where appends a list predicates to the ShareUpdate builder.
616func (suo *ShareUpdateOne) Where(ps ...predicate.Share) *ShareUpdateOne {

Callers

nothing calls this directly

Calls 1

ClearFileMethod · 0.45

Tested by

no test coverage detected