From dfbab63fe9d17b797978e8b99b15ffa94099822e Mon Sep 17 00:00:00 2001 From: deva Date: Fri, 15 Jan 2010 08:32:12 +0000 Subject: Added filescan upon directory creation. --- server/src/inotify.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'server/src/inotify.cc') diff --git a/server/src/inotify.cc b/server/src/inotify.cc index c94f809..dba3bfd 100644 --- a/server/src/inotify.cc +++ b/server/src/inotify.cc @@ -173,6 +173,11 @@ bool INotify::Event::isMovedToEvent() return TEST(_mask, IN_MOVED_TO); } +bool INotify::Event::isDir() +{ + return TEST(_mask, IN_ISDIR); +} + std::string INotify::Event::name() { return _name; -- cgit v1.2.3