github.com/jfrazelle/docker@v1.1.2-0.20210712172922-bf78e25fe508/daemon/graphdriver/vfs/copy_unsupported.go (about)

     1  // +build !linux
     2  
     3  package vfs // import "github.com/docker/docker/daemon/graphdriver/vfs"
     4  
     5  import "github.com/docker/docker/pkg/chrootarchive"
     6  
     7  func dirCopy(srcDir, dstDir string) error {
     8  	return chrootarchive.NewArchiver(nil).CopyWithTar(srcDir, dstDir)
     9  }