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-3.7.0 support/chef_base_init_command.ps1
test-kitchen-3.6.0 support/chef_base_init_command.ps1
test-kitchen-3.5.1 support/chef_base_init_command.ps1
test-kitchen-3.5.0 support/chef_base_init_command.ps1
test-kitchen-3.4.0 support/chef_base_init_command.ps1
test-kitchen-3.3.2 support/chef_base_init_command.ps1
test-kitchen-3.3.1 support/chef_base_init_command.ps1
test-kitchen-3.3.0 support/chef_base_init_command.ps1
test-kitchen-3.2.2 support/chef_base_init_command.ps1
test-kitchen-3.2.1 support/chef_base_init_command.ps1
test-kitchen-3.2.0 support/chef_base_init_command.ps1
test-kitchen-3.1.1 support/chef_base_init_command.ps1
test-kitchen-3.1.0 support/chef_base_init_command.ps1
test-kitchen-rsync-3.0.0.pre.3 support/chef_base_init_command.ps1
test-kitchen-rsync-3.0.0.pre.2 support/chef_base_init_command.ps1
test-kitchen-rsync-3.0.0.pre.1 support/chef_base_init_command.ps1
test-kitchen-3.0.0 support/chef_base_init_command.ps1
test-kitchen-2.12.0 support/chef_base_init_command.ps1
test-kitchen-2.11.2 support/chef_base_init_command.ps1
test-kitchen-2.11.1 support/chef_base_init_command.ps1