gopkg.in/docker/docker.v20@v20.10.27/pkg/containerfs/containerfs_unix.go (about)

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