Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
changed &unlink and new &rmdir
  • Loading branch information
Filip Sergot committed Feb 24, 2012
1 parent e45989e commit bd9cb3a
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 bd9cb3a

Please sign in to comment.