mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-19 08:41:02 -04:00
10 lines
197 B
Go
10 lines
197 B
Go
|
// +build !linux
|
||
|
|
||
|
package vfs
|
||
|
|
||
|
import "github.com/docker/docker/pkg/chrootarchive"
|
||
|
|
||
|
func dirCopy(srcDir, dstDir string) error {
|
||
|
return chrootarchive.NewArchiver(nil).CopyWithTar(srcDir, dstDir)
|
||
|
}
|