2021-08-23 09:14:53 -04:00
|
|
|
//go:build !linux
|
2017-11-21 13:29:27 -05:00
|
|
|
// +build !linux
|
|
|
|
|
2018-02-05 16:05:59 -05:00
|
|
|
package vfs // import "github.com/docker/docker/daemon/graphdriver/vfs"
|
2017-11-21 13:29:27 -05:00
|
|
|
|
2022-03-14 15:24:29 -04:00
|
|
|
import (
|
|
|
|
"github.com/docker/docker/pkg/chrootarchive"
|
|
|
|
"github.com/docker/docker/pkg/idtools"
|
|
|
|
)
|
2017-11-21 13:29:27 -05:00
|
|
|
|
|
|
|
func dirCopy(srcDir, dstDir string) error {
|
2022-03-14 15:24:29 -04:00
|
|
|
return chrootarchive.NewArchiver(idtools.IdentityMapping{}).CopyWithTar(srcDir, dstDir)
|
2017-11-21 13:29:27 -05:00
|
|
|
}
|