WithSyncFs sets sync flag to the config.
(sync bool)
| 131 | |
| 132 | // WithSyncFs sets sync flag to the config. |
| 133 | func 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 |
no outgoing calls
no test coverage detected
searching dependent graphs…