*: use narrower content interfaces

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
This commit is contained in:
Akihiro Suda
2018-02-09 19:50:00 +09:00
parent ee6ffdd91e
commit ee70879202
6 changed files with 8 additions and 8 deletions

View File

@@ -22,14 +22,14 @@ import (
// NewFileSystemApplier returns an applier which simply mounts
// and applies diff onto the mounted filesystem.
func NewFileSystemApplier(cs content.Store) diff.Applier {
func NewFileSystemApplier(cs content.Provider) diff.Applier {
return &fsApplier{
store: cs,
}
}
type fsApplier struct {
store content.Store
store content.Provider
}
var emptyDesc = ocispec.Descriptor{}