Skip to content

Nananas/cassius

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cassius

<a href-"https://travis-ci.org/jquadrin/spill">![Build Status](https://travis-ci.org/jquadrin/cassius.svg)

#####monitor linux file system events

Cassius.watch("lib", :all)    # monitor events in a directory

monitored events are sent to the caller's pid ```elixir {:open, foobar} # {event, file_path} ```
These are the events you can monitor specifically (`:all` monitors all events)
event defn.
:close file closed
:access file accessed
:attrib file metadata changed
:close_write file wrote and closed
:close_no_write file closed without write
:create file/directory created
:delete file/directory deleted
:delete_self file/directory itself deleted
:modify file modified
:move_self file/directory itself moved
:moved_from file left dir
:moved_to file entered dir
:open file opened

About

monitor linux file system events

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 74.6%
  • Elixir 25.4%