Files
docker-cli/components/engine/daemon/graphdriver/driver_windows.go
John Howard 1296feade8 Windows: Graph driver implementation
Signed-off-by: John Howard <jhoward@microsoft.com>
Upstream-commit: 52f4d09ffb376ffaa6677cb1e0413c6a97f53f24
Component: engine
2015-07-10 14:33:11 -07:00

30 lines
722 B
Go

package graphdriver
import (
"github.com/docker/docker/pkg/archive"
"github.com/microsoft/hcsshim"
)
type WindowsGraphDriver interface {
Driver
CopyDiff(id, sourceId string, parentLayerPaths []string) error
LayerIdsToPaths(ids []string) []string
Info() hcsshim.DriverInfo
Export(id string, parentLayerPaths []string) (archive.Archive, error)
Import(id string, layerData archive.ArchiveReader, parentLayerPaths []string) (int64, error)
}
var (
// Slice of drivers that should be used in order
priority = []string{
"windowsfilter",
"windowsdiff",
"vfs",
}
)
func GetFSMagic(rootpath string) (FsMagic, error) {
// Note it is OK to return FsMagicUnsupported on Windows.
return FsMagicUnsupported, nil
}