/** * Tests for the watch-root planner. * * The invariant under test is the one the whole change exists for: the watcher * must only register OS watches over paths that can actually upload. Before * this planner, macOS/Windows placed ONE recursive `fs.watch` on hqRoot, so the * OS delivered every event in the tree — including `repos/` (~26k dirs on a * real HQ) and `workspace/worktrees/` (~62k dirs) — and each one was filtered * out only AFTER it had already cost a syscall and an allocation. * * The planner walks the exclusion filter up front and returns the minimum set * of watch roots that covers exactly the in-scope tree: * - `recursive`: the dir's entire subtree is in scope → one recursive watch. * - `shallow`: the dir contains an excluded child → watch the dir itself * non-recursively and descend into its in-scope children. */ export {}; //# sourceMappingURL=watch-roots.test.d.ts.map