MCPcopy
hub / github.com/containerd/containerd / NewDiffServiceFromClient

Function NewDiffServiceFromClient

client/diff.go:33–35  ·  view source on GitHub ↗

NewDiffServiceFromClient returns a new diff service which communicates over a GRPC connection.

(client diffapi.DiffClient)

Source from the content-addressed store, hash-verified

31// NewDiffServiceFromClient returns a new diff service which communicates
32// over a GRPC connection.
33func NewDiffServiceFromClient(client diffapi.DiffClient) DiffService {
34 return proxy.NewDiffApplier(client).(DiffService)
35}

Callers 2

WithDiffClientFunction · 0.85
DiffServiceMethod · 0.85

Calls 1

NewDiffApplierFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…