|
@@ -96,19 +96,19 @@ String InodeWatcher::absolute_path(const FileDescription&) const
|
|
|
void InodeWatcher::notify_inode_event(Badge<Inode>, Event::Type event_type)
|
|
|
{
|
|
|
LOCKER(m_lock);
|
|
|
- m_queue.enqueue({ event_type, {} });
|
|
|
+ m_queue.enqueue({ event_type });
|
|
|
}
|
|
|
|
|
|
-void InodeWatcher::notify_child_added(Badge<Inode>, const String& child_name)
|
|
|
+void InodeWatcher::notify_child_added(Badge<Inode>, const InodeIdentifier& child_id)
|
|
|
{
|
|
|
LOCKER(m_lock);
|
|
|
- m_queue.enqueue({ Event::Type::ChildAdded, child_name });
|
|
|
+ m_queue.enqueue({ Event::Type::ChildAdded, child_id.index() });
|
|
|
}
|
|
|
|
|
|
-void InodeWatcher::notify_child_removed(Badge<Inode>, const String& child_name)
|
|
|
+void InodeWatcher::notify_child_removed(Badge<Inode>, const InodeIdentifier& child_id)
|
|
|
{
|
|
|
LOCKER(m_lock);
|
|
|
- m_queue.enqueue({ Event::Type::ChildRemoved, child_name });
|
|
|
+ m_queue.enqueue({ Event::Type::ChildRemoved, child_id.index() });
|
|
|
}
|
|
|
|
|
|
}
|