github.com/demonoid81/moby@v0.0.0-20200517203328-62dd8e17c460/daemon/graphdriver/vfs/copy_unsupported.go (about) 1 // +build !linux 2 3 package vfs // import "github.com/demonoid81/moby/daemon/graphdriver/vfs" 4 5 import "github.com/demonoid81/moby/pkg/chrootarchive" 6 7 func dirCopy(srcDir, dstDir string) error { 8 return chrootarchive.NewArchiver(nil).CopyWithTar(srcDir, dstDir) 9 }