mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
e89f837bc6
Signed-off-by: John Howard <jhoward@microsoft.com>
25 lines
483 B
Go
25 lines
483 B
Go
package graphdriver
|
|
|
|
import (
|
|
_ "github.com/docker/docker/daemon/graphdriver/vfs"
|
|
|
|
// TODO Windows - Add references to real graph driver when PR'd
|
|
)
|
|
|
|
type DiffDiskDriver interface {
|
|
Driver
|
|
CopyDiff(id, sourceId string) error
|
|
}
|
|
|
|
var (
|
|
// Slice of drivers that should be used in order
|
|
priority = []string{
|
|
"windows",
|
|
"vfs",
|
|
}
|
|
)
|
|
|
|
func GetFSMagic(rootpath string) (FsMagic, error) {
|
|
// Note it is OK to return FsMagicUnsupported on Windows.
|
|
return FsMagicUnsupported, nil
|
|
}
|