github.com/lazyboychen7/engine@v17.12.1-ce-rc2+incompatible/registry/config_unix.go (about)

     1  // +build !windows
     2  
     3  package registry
     4  
     5  var (
     6  	// CertsDir is the directory where certificates are stored
     7  	CertsDir = "/etc/docker/certs.d"
     8  )
     9  
    10  // cleanPath is used to ensure that a directory name is valid on the target
    11  // platform. It will be passed in something *similar* to a URL such as
    12  // https:/index.docker.io/v1. Not all platforms support directory names
    13  // which contain those characters (such as : on Windows)
    14  func cleanPath(s string) string {
    15  	return s
    16  }