reg/vendor/github.com/docker/docker-ce/components/engine/daemon/graphdriver/vfs/copy_unsupported.go

10 lines
257 B
Go
Raw Normal View History

// +build !linux
package vfs // import "github.com/docker/docker/daemon/graphdriver/vfs"
import "github.com/docker/docker/pkg/chrootarchive"
func dirCopy(srcDir, dstDir string) error {
return chrootarchive.NewArchiver(nil).CopyWithTar(srcDir, dstDir)
}