MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / Open

Method Open

internal/pluginhost/host_test.go:1152–1156  ·  view source on GitHub ↗
(file pluginFile, host *Host)

Source from the content-addressed store, hash-verified

1150}
1151
1152func (l *blockingOpenLoader) Open(file pluginFile, host *Host) (pluginClient, error) {
1153 l.startOnce.Do(func() { close(l.started) })
1154 <-l.release
1155 return l.inner.Open(file, host)
1156}
1157
1158func newBlockingOpenHost(t *testing.T) (*Host, *config.Config, <-chan struct{}, func()) {
1159 t.Helper()

Callers

nothing calls this directly

Calls 2

DoMethod · 0.65
OpenMethod · 0.65

Tested by

no test coverage detected