MCPcopy
hub / github.com/containerd/containerd / WithSyncFs

Function WithSyncFs

core/diff/diff.go:133–138  ·  view source on GitHub ↗

WithSyncFs sets sync flag to the config.

(sync bool)

Source from the content-addressed store, hash-verified

131
132// WithSyncFs sets sync flag to the config.
133func WithSyncFs(sync bool) ApplyOpt {
134 return func(_ context.Context, _ ocispec.Descriptor, c *ApplyConfig) error {
135 c.SyncFs = sync
136 return nil
137 }
138}
139
140// WithProgress is used to indicate process of the apply operation, should
141// at least expect a progress of 0 and of the final size. It is up to the applier

Callers 9

ApplyMethod · 0.92
snapshots.goFile · 0.92
mount.goFile · 0.92
pull.goFile · 0.92
import.goFile · 0.92
NewContainerFunction · 0.92
NewContainerFunction · 0.92
ApplyMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…