D
Daniel Berger
Hi all,
The Win32Utils Team is proud to annouce win32-changenotify 0.3.0
What is it?
===========
An interface for monitoring file and/or directory changes on the Win32
platform.
Synopsis
========
require "win32/changenotify"
include Win32
# Wait for any writes to files in the C:\ drive.
filter = ChangeNotify::LAST_WRITE
cn = ChangeNotify.new("C:\\",true,filter)
cn.wait{ |s|
puts "Something changed"
puts "File: " + s.file_name
puts "Action: " + s.action
}
What's new?
===========
The interface has been altered so that ChangeNotify#wait will yield a
structure (if a block is given) that provides more detailed information
as to what, exactly, the changes were.
See the documentation for more details.
Where is it?
============
You can find it on the RAA or on the RubyForge project page at
http://www.rubyforge.org/projects/win32utils.
Also, I have release a standalone .so file that you can download from
the RubyForge project page if you don't happen to have a compiler. Be
sure to put it under a "win32" toplevel directory somewhere in your
library path.
Many thanks go to Park Heesob (again) for helping me with some sticky C
issues.
Future Plans
============
We are planning on an interface for Change Journals which will either
supplant or replace this package. Keep an eye out.
Enjoy!
The Win32Utils Team
The Win32Utils Team is proud to annouce win32-changenotify 0.3.0
What is it?
===========
An interface for monitoring file and/or directory changes on the Win32
platform.
Synopsis
========
require "win32/changenotify"
include Win32
# Wait for any writes to files in the C:\ drive.
filter = ChangeNotify::LAST_WRITE
cn = ChangeNotify.new("C:\\",true,filter)
cn.wait{ |s|
puts "Something changed"
puts "File: " + s.file_name
puts "Action: " + s.action
}
What's new?
===========
The interface has been altered so that ChangeNotify#wait will yield a
structure (if a block is given) that provides more detailed information
as to what, exactly, the changes were.
See the documentation for more details.
Where is it?
============
You can find it on the RAA or on the RubyForge project page at
http://www.rubyforge.org/projects/win32utils.
Also, I have release a standalone .so file that you can download from
the RubyForge project page if you don't happen to have a compiler. Be
sure to put it under a "win32" toplevel directory somewhere in your
library path.
Many thanks go to Park Heesob (again) for helping me with some sticky C
issues.
Future Plans
============
We are planning on an interface for Change Journals which will either
supplant or replace this package. Keep an eye out.
Enjoy!
The Win32Utils Team