github.com/rhatdan/docker@v0.7.7-0.20180119204836-47a0dcbcd20a/pkg/containerfs/containerfs_unix.go (about)

     1  // +build !windows
     2  
     3  package containerfs
     4  
     5  import "path/filepath"
     6  
     7  // cleanScopedPath preappends a to combine with a mnt path.
     8  func cleanScopedPath(path string) string {
     9  	return filepath.Join(string(filepath.Separator), path)
    10  }