Skip to main content

Crate arbor_watcher

Crate arbor_watcher 

Source
Expand description

Arbor Watcher - File watching and incremental indexing

This crate handles the file system side of things:

  • Walking directories to find source files
  • Watching for changes
  • Triggering incremental re-indexing

It respects .gitignore and other ignore patterns.

Re-exports§

pub use usages::scan_usages;
pub use usages::UsageReport;
pub use usages::UsageScanOptions;

Modules§

usages
Repository-wide SDK usage scan, behind arbor usages and the MCP tool find_api_usages.

Structs§

FileWatcher
Watches a directory for file changes.
IgnoreMatcher
Shared ignore matcher used by both the directory walker and the file watcher.
IndexOptions
Options for directory indexing.
IndexResult
Result of indexing a directory.

Enums§

FileChange
Type of file change detected.

Functions§

index_directory
Indexes a directory and returns the code graph.
mtime_nanos
Returns true if any supported source file under root is newer than cache_mtime.
sources_newer_than
True when any supported source file under root was modified after cache_mtime (nanoseconds since the Unix epoch, see mtime_nanos).