github.com/demonoid81/moby@v0.0.0-20200517203328-62dd8e17c460/pkg/containerfs/containerfs_unix.go (about)

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