mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
27 lines
437 B
Go
27 lines
437 B
Go
|
package graphdriver
|
||
|
|
||
|
type DiffDiskDriver interface {
|
||
|
Driver
|
||
|
CopyDiff(id, sourceId string) error
|
||
|
}
|
||
|
|
||
|
const (
|
||
|
FsMagicWindows = FsMagic(0xa1b1830f)
|
||
|
)
|
||
|
|
||
|
var (
|
||
|
// Slice of drivers that should be used in an order
|
||
|
priority = []string{
|
||
|
"windows",
|
||
|
}
|
||
|
|
||
|
FsNames = map[FsMagic]string{
|
||
|
FsMagicWindows: "windows",
|
||
|
FsMagicUnsupported: "unsupported",
|
||
|
}
|
||
|
)
|
||
|
|
||
|
func GetFSMagic(rootpath string) (FsMagic, error) {
|
||
|
return FsMagicWindows, nil
|
||
|
}
|