Merge pull request #41478 from kolyshkin/ensure-rm-all-win
pkg/system: make EnsureRemoveAll unix-specific
This commit is contained in:
commit
a24a71c50f
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
// +build !windows
|
||||
|
||||
package system // import "github.com/docker/docker/pkg/system"
|
||||
|
||||
import (
|
6
pkg/system/rm_windows.go
Normal file
6
pkg/system/rm_windows.go
Normal file
|
@ -0,0 +1,6 @@
|
|||
package system
|
||||
|
||||
import "os"
|
||||
|
||||
// EnsureRemoveAll is an alias to os.RemoveAll on Windows
|
||||
var EnsureRemoveAll = os.RemoveAll
|
Loading…
Add table
Reference in a new issue