-
Notifications
You must be signed in to change notification settings - Fork 0
rintaro/AnyEvent-FSNotify
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
NAME
AnyEvent::FSNotify - AnyEvent compatible module to monitor filesystem
for changes
SYNOPSIS
use AnyEvent::FSNotify;
my $watcher = AnyEvent::FSNotify->new(dirs => [$dir1, $dir2, ...], cb => sub {
my @events = @_;
for my $event (@events) {
print "$event->{type} : $event->{path}\n";
});
$cv->recv;
DESCRIPTION
This module is yet another AnyEvent::Filesys::Notify, without Moose.
METHODS
new($dir1, $dir2, .., sub { ... })
Initializes monitor.
AUTHOR
Rintaro Ishizaki <[email protected]>
SEE ALSO
Depends Linux::INotify2, Mac::FSEvents and AnyEvent.
Alternatives AnyEvent::Filesys::Notify, Filesys::Notify::Simple.
LICENSE
This library is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published