mirror of
https://github.com/containers/skopeo.git
synced 2025-09-27 13:13:52 +00:00
Vendor containers/storage, and its dependencies github.com/pborman/uuid and github.com/mistifyio/go-zfs, which we didn't already use. Update the build Dockerfile to install their dependencies. Add scriptlets that try to detect whether or not we need to use the "libdm_no_deferred_remove" and/or "btrfs_noversion" build tags. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
15 lines
325 B
Go
15 lines
325 B
Go
package graphdriver
|
|
|
|
var (
|
|
// Slice of drivers that should be used in order
|
|
priority = []string{
|
|
"windowsfilter",
|
|
}
|
|
)
|
|
|
|
// GetFSMagic returns the filesystem id given the path.
|
|
func GetFSMagic(rootpath string) (FsMagic, error) {
|
|
// Note it is OK to return FsMagicUnsupported on Windows.
|
|
return FsMagicUnsupported, nil
|
|
}
|