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

Method QueryOwner

ent/file.go:277–279  ·  view source on GitHub ↗

QueryOwner queries the "owner" edge of the File entity.

()

Source from the content-addressed store, hash-verified

275
276// QueryOwner queries the "owner" edge of the File entity.
277func (f *File) QueryOwner() *UserQuery {
278 return NewFileClient(f.config).QueryOwner(f)
279}
280
281// QueryStoragePolicies queries the "storage_policies" edge of the File entity.
282func (f *File) QueryStoragePolicies() *StoragePolicyQuery {

Callers

nothing calls this directly

Calls 1

NewFileClientFunction · 0.70

Tested by

no test coverage detected