github.com/Heebron/moby@v0.0.0-20221111184709-6eab4f55faf7/pkg/archive/copy_unix.go (about)

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