Skip to content

Engine → Assets

file_watcher.h

Produces debounced file changes. Main-thread API.

Structs

File Description
file_change One debounced change. The path is the file-system path of the file.
polling_file_watcher::file_state

Classes

File Description
file_watcher Produces debounced file changes. Main-thread API.
polling_file_watcher Stat-based watcher. poll() schedules one stat pass per interval on the job system and collects the pass's results; scan_now() runs a pass synchronously (tests, tools). Atomic-write temporaries (".tmp", ".tmp-<uuid>") are never tracked or reported.

Enumerations

file_change_kind

enum class file_change_kind : u8 {
    ADDED = 0,
    MODIFIED,
    REMOVED
};