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

Method QueryShares

ent/file.go:307–309  ·  view source on GitHub ↗

QueryShares queries the "shares" edge of the File entity.

()

Source from the content-addressed store, hash-verified

305
306// QueryShares queries the "shares" edge of the File entity.
307func (f *File) QueryShares() *ShareQuery {
308 return NewFileClient(f.config).QueryShares(f)
309}
310
311// QueryDirectLinks queries the "direct_links" edge of the File entity.
312func (f *File) QueryDirectLinks() *DirectLinkQuery {

Callers

nothing calls this directly

Calls 1

NewFileClientFunction · 0.70

Tested by

no test coverage detected