struct mrpt::system::CFileSystemWatcher::TFileSystemChange

Each of the changes detected by utils::CFileSystemWatcher.

#include <mrpt/system/CFileSystemWatcher.h>

struct TFileSystemChange

    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};


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.