MCPcopy Index your code
hub / github.com/docker/docker-agent / WithSessionCompaction

Function WithSessionCompaction

pkg/runtime/runtime.go:396–400  ·  view source on GitHub ↗
(sessionCompaction bool)

Source from the content-addressed store, hash-verified

394}
395
396func WithSessionCompaction(sessionCompaction bool) Opt {
397 return func(r *LocalRuntime) {
398 r.sessionCompaction = sessionCompaction
399 }
400}
401
402func WithProviderRegistry(registry *provider.Registry) Opt {
403 return func(r *LocalRuntime) {

Calls

no outgoing calls