Windows - make docker cp functional
Signed-off-by: John Howard <jhoward@microsoft.com> Conflicts: pkg/archive/copy.go Make it compile Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
parent
003529d8c0
commit
f5727e08d4
4 changed files with 55 additions and 19 deletions
11
archive/copy_unix.go
Normal file
11
archive/copy_unix.go
Normal file
|
@ -0,0 +1,11 @@
|
|||
// +build !windows
|
||||
|
||||
package archive
|
||||
|
||||
import (
|
||||
"path/filepath"
|
||||
)
|
||||
|
||||
func normalizePath(path string) string {
|
||||
return filepath.ToSlash(path)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue