MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / startPerDirectory

Method startPerDirectory

src/sync/watcher.ts:459–461  ·  view source on GitHub ↗

* Linux: walk the (non-ignored) tree and watch each directory. One inotify * watch per directory reports create/modify/delete for that directory's * direct children, so we never watch individual files.

()

Source from the content-addressed store, hash-verified

457 * direct children, so we never watch individual files.
458 */
459 private startPerDirectory(): void {
460 this.watchTree(this.projectRoot, /* markExisting */ false);
461 }
462
463 /**
464 * Add an inotify watch for `dir` and recurse into its non-ignored

Callers 1

startMethod · 0.95

Calls 1

watchTreeMethod · 0.95

Tested by

no test coverage detected