Versions in this module Expand all Collapse all v0 v0.12.4 Jan 17, 2024 Changes in this version + func NewContainerdSnapshotter(s Snapshotter) (snapshots.Snapshotter, func() error) + type Diff struct + Lower string + Upper string + type MergeSnapshotter interface + Merge func(ctx context.Context, key string, diffs []Diff, opts ...snapshots.Opt) error + func NewMergeSnapshotter(ctx context.Context, sn Snapshotter, lm leases.Manager) MergeSnapshotter + type Mountable interface + IdentityMapping func() *idtools.IdentityMapping + Mount func() ([]mount.Mount, func() error, error) + type Mounter interface + Mount func() (string, error) + Unmount func() error + func LocalMounter(mountable Mountable) Mounter + func LocalMounterWithMounts(mounts []mount.Mount) Mounter + type Snapshotter interface + Close func() error + Commit func(ctx context.Context, name, key string, opts ...snapshots.Opt) error + IdentityMapping func() *idtools.IdentityMapping + Mounts func(ctx context.Context, key string) (Mountable, error) + Name func() string + Prepare func(ctx context.Context, key, parent string, opts ...snapshots.Opt) error + Remove func(ctx context.Context, key string) error + Stat func(ctx context.Context, key string) (snapshots.Info, error) + Update func(ctx context.Context, info snapshots.Info, fieldpaths ...string) (snapshots.Info, error) + Usage func(ctx context.Context, key string) (snapshots.Usage, error) + View func(ctx context.Context, key, parent string, opts ...snapshots.Opt) (Mountable, error) + Walk func(ctx context.Context, fn snapshots.WalkFunc, filters ...string) error + func FromContainerdSnapshotter(name string, s snapshots.Snapshotter, idmap *idtools.IdentityMapping) Snapshotter