Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #58 from sergot/nom
changed &unlink and new &rmdir
  • Loading branch information
moritz committed Feb 24, 2012
2 parents e45989e + bd9cb3a commit 0f96959
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/core/IO.pm
Expand Up @@ -211,7 +211,14 @@ class IO {

sub unlink($path) {
try {
pir::new__PS('OS').rm($path);
pir::new__PS('OS').unlink($path);
}
$! ?? fail($!) !! Bool::True
}

sub rmdir($path) {
try {
pir::new__PS('OS').rmdir($path);
}
$! ?? fail($!) !! Bool::True
}
Expand Down

0 comments on commit 0f96959

Please sign in to comment.