|
Fray Engine
|
Classes | |
| struct | FileId |
| Filesystem identity surviving renames: device and inode, or volume and file index. More... | |
| struct | Change |
| Describes a detected change to the watched root or one of its entries. More... | |
| class | 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... | |
Enumerations | |
| enum class | ChangeKind { Added , Removed , Renamed , Modified } |
| Identifies an added, removed, renamed or modified entry. More... | |
Functions | |
| bool | fileId (const std::filesystem::path &path, FileId &id) |
| Reads the entry identity without following a symbolic link. | |
|
strong |
Identifies an added, removed, renamed or modified entry.
| Enumerator | |
|---|---|
| Added | |
| Removed | |
| Renamed | |
| Modified | |
Definition at line 113 of file file_watcher.hpp.
|
inline |
Reads the entry identity without following a symbolic link.
| path | Filesystem entry to inspect. |
| id | Receives the identity when the platform query succeeds. |
Definition at line 83 of file file_watcher.hpp.