github.com/Prakhar-Agarwal-byte/moby@v0.0.0-20231027092010-a14e3e8ab87e/pkg/containerfs/containerfs_unix.go (about)

     1  //go:build !windows
     2  
     3  package containerfs // import "github.com/Prakhar-Agarwal-byte/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  }