fix: minor clean-up

This commit is contained in:
CJ van den Berg 2026-03-15 00:33:56 +01:00
parent 4339c122eb
commit bafa7d4b24
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
3 changed files with 9 additions and 3 deletions

View file

@ -16,7 +16,7 @@ watches_mutex: std.Thread.Mutex,
file_watches: std.StringHashMapUnmanaged(std.posix.fd_t), // owned file path -> fd
file_watches_mutex: std.Thread.Mutex,
// Per-directory snapshots of filenames, used to diff on NOTE_WRITE.
// Key: owned dir path (same as watches key), value: set of owned filenames.
// Key: independently owned dir path, value: set of owned filenames.
// Accessed from both the main thread (add_watch) and the background thread (scan_dir).
snapshots: std.StringHashMapUnmanaged(std.StringHashMapUnmanaged(void)),
snapshots_mutex: std.Thread.Mutex,