Sha256: b4dd380f7d902422ce79138ce892b0bd02b01f33b3a054f78448c67b241dd2ee
Contents?: true
Size: 508 Bytes
Versions: 22
Compression:
Stored size: 508 Bytes
Contents
function which { $command = [Array](Get-Command $args[0] -errorAction SilentlyContinue) if($null -eq $command) { exit 1 } write-host $command[0].Definition exit 0 } function test ([Switch] $d, [String] $path) { if(Test-Path $path) { exit 0 } exit 1 } function chmod { exit 0 } function chown { exit 0 } function mkdir ([Switch] $p, [String] $path) { if(Test-Path $path) { exit 0 } else { New-Item $path -Type Directory -Force | Out-Null } }
Version data entries
22 entries across 22 versions & 2 rubygems