Fray Engine
Loading...
Searching...
No Matches
fray::watch::FileWatcher::Entry Struct Reference

Snapshot metadata for one filesystem entry. More...

Public Attributes

FileId id
 Filesystem identity of the entry.
std::uintmax_t size = 0
 File size used for modification detection; zero for directories.
std::filesystem::file_time_type time
 Last-write time used for non-directory modification detection.
bool directory = false
 Whether the entry is a directory.

Detailed Description

Snapshot metadata for one filesystem entry.

Definition at line 181 of file file_watcher.hpp.

Member Data Documentation

◆ directory

bool fray::watch::FileWatcher::Entry::directory = false

Whether the entry is a directory.

Definition at line 198 of file file_watcher.hpp.

◆ id

FileId fray::watch::FileWatcher::Entry::id

Filesystem identity of the entry.

Definition at line 186 of file file_watcher.hpp.

◆ size

std::uintmax_t fray::watch::FileWatcher::Entry::size = 0

File size used for modification detection; zero for directories.

Definition at line 190 of file file_watcher.hpp.

◆ time

std::filesystem::file_time_type fray::watch::FileWatcher::Entry::time

Last-write time used for non-directory modification detection.

Definition at line 194 of file file_watcher.hpp.


The documentation for this struct was generated from the following file: