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

Function NewDirectLinkClient

ent/client.go:491–493  ·  view source on GitHub ↗

NewDirectLinkClient returns a client for the DirectLink from the given config.

(c config)

Source from the content-addressed store, hash-verified

489
490// NewDirectLinkClient returns a client for the DirectLink from the given config.
491func NewDirectLinkClient(c config) *DirectLinkClient {
492 return &DirectLinkClient{config: c}
493}
494
495// Use adds a list of mutation hooks to the hooks stack.
496// A call to `Use(f, g, h)` equals to `directlink.Hooks(f(g(h())))`.

Callers 6

initMethod · 0.70
QueryFileMethod · 0.70
UpdateMethod · 0.70
initMethod · 0.70
TxMethod · 0.70
BeginTxMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected