MCPcopy Index your code
hub / github.com/cloudquery/cloudquery / newSafeWriteClient

Function newSafeWriteClient

cli/cmd/sync_v3.go:116–118  ·  view source on GitHub ↗
(client grpc.ClientStreamingClient[plugin.Write_Request, plugin.Write_Response])

Source from the content-addressed store, hash-verified

114}
115
116func newSafeWriteClient(client grpc.ClientStreamingClient[plugin.Write_Request, plugin.Write_Response]) safeWriteClient {
117 return safeWriteClient{client: client, mu: &gosync.Mutex{}}
118}
119
120type shard struct {
121 num int32

Callers 2

syncConnectionV3Function · 0.85
migrateConnectionV3Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected