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.
Structs§
- File
Watcher - Watches a directory for file changes.
- Ignore
Matcher - Shared ignore matcher used by both the directory walker and the file watcher.
- Index
Options - Options for directory indexing.
- Index
Result - Result of indexing a directory.
Enums§
- File
Change - 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
rootis newer thancache_mtime. - sources_
newer_ than - True when any supported source file under
rootwas modified aftercache_mtime(nanoseconds since the Unix epoch, seemtime_nanos).