MCPcopy Create free account
hub / github.com/pydio/cells / WithCustomOpener

Function WithCustomOpener

common/runtime/controller/controller.go:26–30  ·  view source on GitHub ↗
(opener Opener[T])

Source from the content-addressed store, hash-verified

24}
25
26func WithCustomOpener[T any](opener Opener[T]) Option[T] {
27 return func(o *Options[T]) {
28 o.CustomOpener = opener
29 }
30}
31
32type Opener[T any] func(ctx context.Context, url string) (T, error)
33

Callers 11

RegisterCachePoolFunction · 0.92
initFunction · 0.92
initFunction · 0.92
SkipTestDBPoolFunction · 0.92
initFunction · 0.92
initFunction · 0.92
initFunction · 0.92
initFunction · 0.92
initFunction · 0.92
initFunction · 0.92
initFunction · 0.92

Calls

no outgoing calls

Tested by 1

SkipTestDBPoolFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…