github.com/Prakhar-Agarwal-byte/moby@v0.0.0-20231027092010-a14e3e8ab87e/daemon/graphdriver/vfs/copy_unsupported.go (about)

     1  //go:build !linux
     2  
     3  package vfs // import "github.com/Prakhar-Agarwal-byte/moby/daemon/graphdriver/vfs"
     4  
     5  import (
     6  	"github.com/Prakhar-Agarwal-byte/moby/pkg/chrootarchive"
     7  	"github.com/Prakhar-Agarwal-byte/moby/pkg/idtools"
     8  )
     9  
    10  func dirCopy(srcDir, dstDir string) error {
    11  	return chrootarchive.NewArchiver(idtools.IdentityMapping{}).CopyWithTar(srcDir, dstDir)
    12  }