Skip to content

rintaro/AnyEvent-FSNotify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

No packages published

Languages