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.3.8
Published
Nov 30, 2020
Platform
darwin/amd64
Imports
16 packages
Last checked
now

Tools for package owners.