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

Method ClearFile

ent/metadata_update.go:352–355  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

350
351// ClearFile clears the "file" edge to the File entity.
352func (muo *MetadataUpdateOne) ClearFile() *MetadataUpdateOne {
353 muo.mutation.ClearFile()
354 return muo
355}
356
357// Where appends a list predicates to the MetadataUpdate builder.
358func (muo *MetadataUpdateOne) Where(ps ...predicate.Metadata) *MetadataUpdateOne {

Callers

nothing calls this directly

Calls 1

ClearFileMethod · 0.45

Tested by

no test coverage detected