Skip to main content

Module scanner

Module scanner 

Source
Expand description

File scanning module for BraidFS.

Implements periodic directory scanning to catch any changes missed by the filesystem watcher.

Structs§

ScanState
State for file scanning.

Functions§

is_well_formed_absolute_url
Check if a URL is well-formed and absolute.
normalize_url
Normalize a URL by removing trailing /index patterns.
on_watcher_miss
Called when the file watcher misses an event.
scan_files
Scan the root directory for file changes.
start_scan_loop
Start the periodic file scanning loop.