github.com/afein/docker@v1.8.2/daemon/graphdriver/driver_windows.go (about)

     1  package graphdriver
     2  
     3  import (
     4  	"github.com/docker/docker/pkg/archive"
     5  	"github.com/microsoft/hcsshim"
     6  )
     7  
     8  type WindowsGraphDriver interface {
     9  	Driver
    10  	CopyDiff(id, sourceId string, parentLayerPaths []string) error
    11  	LayerIdsToPaths(ids []string) []string
    12  	Info() hcsshim.DriverInfo
    13  	Export(id string, parentLayerPaths []string) (archive.Archive, error)
    14  	Import(id string, layerData archive.ArchiveReader, parentLayerPaths []string) (int64, error)
    15  }
    16  
    17  var (
    18  	// Slice of drivers that should be used in order
    19  	priority = []string{
    20  		"windowsfilter",
    21  		"windowsdiff",
    22  		"vfs",
    23  	}
    24  )
    25  
    26  func GetFSMagic(rootpath string) (FsMagic, error) {
    27  	// Note it is OK to return FsMagicUnsupported on Windows.
    28  	return FsMagicUnsupported, nil
    29  }