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. NewW
(store content.Store)
| 52 | // NewWalkingDiff uses no special characteristics of the mount sets and is |
| 53 | // expected to work with any filesystem. |
| 54 | func NewWalkingDiff(store content.Store) diff.Comparer { |
| 55 | return &walkingDiff{ |
| 56 | store: store, |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | // Compare creates a diff between the given mounts and uploads the result |
| 61 | // to the content store. |
no outgoing calls
searching dependent graphs…