github.com/docker/docker@v299999999.0.0-20200612211812-aaf470eca7b5+incompatible/pkg/containerfs/containerfs_unix.go (about)

     1  // +build !windows
     2  
     3  package containerfs // import "github.com/docker/docker/pkg/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  }