Skip to content

ludus::foundation::filesystem::WatchConfig

Ludus Wiki · API overview · Browse API

Struct

Fixed storage and debounce admission for a host-polled cooked-file watcher.

Declared in modules/foundation/filesystem/include/ludus/foundation/filesystem/watch.hpp

#include <ludus/foundation/filesystem/watch.hpp>
struct ludus::foundation::filesystem::WatchConfig final

Fields

MaxPaths

usize ludus::foundation::filesystem::WatchConfig::MaxPaths = 128
Registered path capacity, from 1 through 4096.

Related types: usize

Declared in modules/foundation/filesystem/include/ludus/foundation/filesystem/watch.hpp

HintCapacity

usize ludus::foundation::filesystem::WatchConfig::HintCapacity = 128
Queued hint capacity, from 1 through 4096.

Related types: usize

Declared in modules/foundation/filesystem/include/ludus/foundation/filesystem/watch.hpp

DebounceNanoseconds

uint64 ludus::foundation::filesystem::WatchConfig::DebounceNanoseconds = 50'000'000
Stable observation interval; zero emits immediately.

Related types: uint64

Declared in modules/foundation/filesystem/include/ludus/foundation/filesystem/watch.hpp