struct mrpt::system::CFileSystemWatcher::TFileSystemChange
Each of the changes detected by mrpt::system::CFileSystemWatcher.
#include <mrpt/system/CFileSystemWatcher.h> struct TFileSystemChange { // fields std::string path {}; bool isDir {false}; bool eventModified {false}; bool eventCloseWrite {false}; bool eventDeleted {false}; bool eventMovedTo {false}; bool eventMovedFrom {false}; bool eventCreated {false}; bool eventAccessed {false}; // construction TFileSystemChange(); };
Fields
std::string path {}
Complete path of the file/directory that has changed.
bool isDir {false}
Whether the event happened to a file or a directory.