github.com/demonoid81/moby@v0.0.0-20200517203328-62dd8e17c460/pkg/archive/copy_unix.go (about)

     1  // +build !windows
     2  
     3  package archive // import "github.com/demonoid81/moby/pkg/archive"
     4  
     5  import (
     6  	"path/filepath"
     7  )
     8  
     9  func normalizePath(path string) string {
    10  	return filepath.ToSlash(path)
    11  }