containerfs_unix.go 280 B

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