Deletion detection
diff --git a/src/dispatcher.h b/src/dispatcher.h
index b2b1e5c..100123f 100644
--- a/src/dispatcher.h
+++ b/src/dispatcher.h
@@ -64,10 +64,22 @@
void
Did_LocalFile_Delete (const boost::filesystem::path &relativeFilepath);
+ /**
+ * @brief Invoked when FileState is detected to have a file which does not exist on a file system
+ */
+ void
+ Restore_LocalFile (FileItemPtr file);
+
+ void
+ Restore_LocalFile_Execute (FileItemPtr file);
+
// for test
HashPtr
SyncRoot() { return m_core->root(); }
+ FileState *
+ GetFileState () { return m_actionLog.get (); }
+
private:
void
Did_LocalFile_AddOrModify_Execute (boost::filesystem::path relativeFilepath); // cannot be const & for Execute event!!! otherwise there will be segfault