package walking

import "github.com/containerd/containerd/diff/walking"

Index

Functions

func NewWalkingDiff

func NewWalkingDiff(store content.Store) diff.Comparer

NewWalkingDiff is a generic implementation of diff.Comparer. The diff is calculated by mounting both the upper and lower mount sets and walking the mounted directories concurrently. Changes are calculated by comparing files against each other or by comparing file existence between directories. NewWalkingDiff uses no special characteristics of the mount sets and is expected to work with any filesystem.

Source Files

differ.go

Directories

PathSynopsis
diff/walking/plugin
Version
v1.7.5
Published
Aug 25, 2023
Platform
darwin/amd64
Imports
18 packages
Last checked
now

Tools for package owners.