Merge pull request #41478 from kolyshkin/ensure-rm-all-win

pkg/system: make EnsureRemoveAll unix-specific
This commit is contained in:
Brian Goff 2020-09-21 08:30:45 -07:00 committed by GitHub
commit a24a71c50f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,5 @@
// +build !windows
package system // import "github.com/docker/docker/pkg/system"
import (

6
pkg/system/rm_windows.go Normal file
View File

@ -0,0 +1,6 @@
package system
import "os"
// EnsureRemoveAll is an alias to os.RemoveAll on Windows
var EnsureRemoveAll = os.RemoveAll