code-graph-cli 3.0.2

Code intelligence engine for TypeScript/JavaScript/Rust/Python/Go — query the dependency graph instead of reading source files.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std::path::PathBuf;

/// Internal watch event types after classification.
#[derive(Debug, Clone)]
pub enum WatchEvent {
    /// A source file was modified (content changed).
    Modified(PathBuf),
    /// A source file was deleted.
    Deleted(PathBuf),
    /// A config file changed (tsconfig.json, package.json) — triggers full re-index.
    ConfigChanged,
    /// A crate root or Cargo.toml changed — triggers full re-index.
    /// Carries the path for log line display.
    CrateRootChanged(PathBuf),
}