MCPcopy Index your code
hub / github.com/containerd/containerd / WithDiffClient

Function WithDiffClient

client/services.go:115–119  ·  view source on GitHub ↗

WithDiffClient sets the diff service to use from a diff client.

(diffService diff.DiffClient)

Source from the content-addressed store, hash-verified

113
114// WithDiffClient sets the diff service to use from a diff client.
115func WithDiffClient(diffService diff.DiffClient) ServicesOpt {
116 return func(s *services) {
117 s.diffService = NewDiffServiceFromClient(diffService)
118 }
119}
120
121// WithDiffService sets the diff store.
122func WithDiffService(diffService DiffService) ServicesOpt {

Callers 1

WithInMemoryServicesFunction · 0.85

Calls 1

NewDiffServiceFromClientFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…