2015-04-24 12:35:51 -07:00
|
|
|
package graphdriver
|
|
|
|
|
|
|
|
var (
|
2015-05-26 12:45:08 -07:00
|
|
|
// Slice of drivers that should be used in order
|
2015-04-24 12:35:51 -07:00
|
|
|
priority = []string{
|
2015-06-11 11:29:29 -07:00
|
|
|
"windowsfilter",
|
|
|
|
"windowsdiff",
|
2015-05-26 12:45:08 -07:00
|
|
|
"vfs",
|
2015-04-24 12:35:51 -07:00
|
|
|
}
|
|
|
|
)
|
|
|
|
|
2015-07-21 22:21:05 +00:00
|
|
|
// GetFSMagic returns the filesystem id given the path.
|
2015-04-24 12:35:51 -07:00
|
|
|
func GetFSMagic(rootpath string) (FsMagic, error) {
|
2015-05-26 12:45:08 -07:00
|
|
|
// Note it is OK to return FsMagicUnsupported on Windows.
|
|
|
|
return FsMagicUnsupported, nil
|
2015-04-24 12:35:51 -07:00
|
|
|
}
|