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

Method GetTreeClientWrite

common/nodes/pool.go:206–211  ·  view source on GitHub ↗

GetTreeClientWrite returns the internal NodeReceiverClient pointing to the TreeService.

()

Source from the content-addressed store, hash-verified

204
205// GetTreeClientWrite returns the internal NodeReceiverClient pointing to the TreeService.
206func (p *ClientsPool) GetTreeClientWrite() tree.NodeReceiverClient {
207 if p.treeClientWrite != nil {
208 return p.treeClientWrite
209 }
210 return tree.NewNodeReceiverClient(clientgrpc.ResolveConn(p.ctx, common.ServiceTreeGRPC))
211}
212
213// GetDataSourceInfo tries to find information about a DataSource, eventually retrying as DataSource
214// could be currently starting and not yet registered in the ClientsPool.

Callers

nothing calls this directly

Calls 1

NewNodeReceiverClientFunction · 0.92

Tested by

no test coverage detected