Sha256: 8093402726452f85c671905f82d3d1aeac05d48bf0edaf797ec068f9a16f658b

Contents?: true

Size: 493 Bytes

Versions: 97

Compression:

Stored size: 493 Bytes

Contents

Function Delete-AllDirs($dirs) {
  $dirs | ForEach-Object {
    if (Test-Path ($path = Unresolve-Path $_)) { Remove-Item $path -Recurse -Force }
  }
}

Function Unresolve-Path($p) {
  if ($p -eq $null) { return $null }
  else { return $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($p) }
}

Function Make-RootPath($p) {
  $p = Unresolve-Path $p
  if (-Not (Test-Path $p)) { New-Item $p -ItemType directory | Out-Null }
}

Delete-AllDirs $dirs
Make-RootPath $root_path

Version data entries

97 entries across 97 versions & 2 rubygems

Version Path
test-kitchen-1.20.0 support/chef_base_init_command.ps1
test-kitchen-1.19.2 support/chef_base_init_command.ps1
test-kitchen-1.19.1 support/chef_base_init_command.ps1
test-kitchen-1.19.0 support/chef_base_init_command.ps1
test-kitchen-1.18.0 support/chef_base_init_command.ps1
test-kitchen-1.17.0 support/chef_base_init_command.ps1
test-kitchen-1.16.0 support/chef_base_init_command.ps1
test-kitchen-1.15.0 support/chef_base_init_command.ps1
test-kitchen-1.14.2 support/chef_base_init_command.ps1
test-kitchen-1.14.1 support/chef_base_init_command.ps1
test-kitchen-1.14.0 support/chef_base_init_command.ps1
test-kitchen-1.13.2 support/chef_base_init_command.ps1
test-kitchen-1.13.1 support/chef_base_init_command.ps1
test-kitchen-1.13.0 support/chef_base_init_command.ps1
test-kitchen-1.12.0 support/chef_base_init_command.ps1
test-kitchen-1.11.1 support/chef_base_init_command.ps1
test-kitchen-1.11.0 support/chef_base_init_command.ps1
test-kitchen-1.10.2 support/chef_base_init_command.ps1
test-kitchen-1.10.2.dev support/chef_base_init_command.ps1
test-kitchen-1.10.0 support/chef_base_init_command.ps1