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-2.2.5 support/chef_base_init_command.ps1
test-kitchen-2.2.4 support/chef_base_init_command.ps1
test-kitchen-2.2.3 support/chef_base_init_command.ps1
test-kitchen-2.2.2 support/chef_base_init_command.ps1
test-kitchen-2.2.1 support/chef_base_init_command.ps1
test-kitchen-2.2.0 support/chef_base_init_command.ps1
test-kitchen-2.1.0 support/chef_base_init_command.ps1
test-kitchen-2.0.1 support/chef_base_init_command.ps1
test-kitchen-2.0.0 support/chef_base_init_command.ps1
test-kitchen-1.24.0 support/chef_base_init_command.ps1
test-kitchen-1.23.5 support/chef_base_init_command.ps1
test-kitchen-1.23.4 support/chef_base_init_command.ps1
test-kitchen-1.23.3 support/chef_base_init_command.ps1
test-kitchen-1.23.2 support/chef_base_init_command.ps1
test-kitchen-1.22.1 support/chef_base_init_command.ps1
test-kitchen-1.23.0 support/chef_base_init_command.ps1
test-kitchen-1.22.0 support/chef_base_init_command.ps1
test-kitchen-1.21.2 support/chef_base_init_command.ps1
test-kitchen-1.21.1 support/chef_base_init_command.ps1
test-kitchen-1.21.0 support/chef_base_init_command.ps1