MCPcopy Create free account
hub / github.com/dim-an/cod / Client

Method Client

application.go:46–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44}
45
46func (a *applicationImpl) Client() *server.Client {
47 if a.client == nil {
48 var err error
49 a.client, err = server.NewClient(*a.Config())
50 verifyFatal(err)
51 }
52 return a.client
53}
54
55func (a *applicationImpl) Close() {
56 if a.client != nil {

Callers

nothing calls this directly

Calls 3

ConfigMethod · 0.95
NewClientFunction · 0.92
verifyFatalFunction · 0.85

Tested by

no test coverage detected