github.com/pwn-term/docker@v0.0.0-20210616085119-6e977cce2565/moby/pkg/archive/copy_unix.go (about)

     1  // +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  }