Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add obsolete .directory for API consistency
  • Loading branch information
lizmat committed Nov 29, 2014
1 parent 17e652f commit 873e88a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/IO/Local.pm
Expand Up @@ -71,6 +71,11 @@ my role IO::Local {
IO::Notification.watch_path($!abspath);
}
#?endif

method directory() {
DEPRECATED("dirname", |<2014.10 2015.10>);
self.dirname;
}
}

# vim: ft=perl6 expandtab sw=4

0 comments on commit 873e88a

Please sign in to comment.