|
Fray Engine
|
#include <chrono>#include <cstdint>#include <deque>#include <filesystem>#include <functional>#include <map>#include <mutex>#include <string>#include <utility>#include <vector>#include <sys/stat.h>#include "thread_manager.hpp"Go to the source code of this file.
Classes | |
| struct | fray::watch::FileId |
| Filesystem identity surviving renames: device and inode, or volume and file index. More... | |
| struct | fray::watch::Change |
| Describes a detected change to the watched root or one of its entries. More... | |
| class | fray::watch::FileWatcher |
| Detects folder-tree changes by comparing snapshots and queues them for subscribers. poll() scans on its calling thread; dispatch() invokes handlers on its calling thread. run() is intended for a ThreadManager thread. Scan state and queue state have separate mutexes. More... | |
| struct | fray::watch::FileWatcher::Entry |
| Snapshot metadata for one filesystem entry. More... | |
| struct | fray::watch::FileWatcher::Subscriber |
| Subscription identifier and callbacks copied for dispatch. More... | |
Namespaces | |
| namespace | fray |
| namespace | fray::watch |
Enumerations | |
| enum class | fray::watch::ChangeKind { fray::watch::Added , fray::watch::Removed , fray::watch::Renamed , fray::watch::Modified } |
| Identifies an added, removed, renamed or modified entry. More... | |
Functions | |
| bool | fray::watch::fileId (const std::filesystem::path &path, FileId &id) |
| Reads the entry identity without following a symbolic link. | |