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