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

Interface GitChanges

src/extraction/index.ts:1072–1076  ·  view source on GitHub ↗

* Result of git-based change detection. * Returns null when git is unavailable (non-git project or command failure), * signaling the caller to fall back to full filesystem scan.

Source from the content-addressed store, hash-verified

1070 * signaling the caller to fall back to full filesystem scan.
1071 */
1072interface GitChanges {
1073 modified: string[]; // M, MM, AM — files to re-hash + re-index
1074 added: string[]; // ?? — new untracked files to index
1075 deleted: string[]; // D — files to remove from DB
1076}
1077
1078/**
1079 * Use `git status` to detect changed files instead of scanning every file.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected