github.com/moby/docker@v26.1.3+incompatible/pkg/archive/copy_unix.go (about)

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