pub async fn collect_workspace_changes(
database_path: &Path,
workspace: &str,
input: &ChangesInput,
git_binary: Option<OsString>,
) -> Result<ToolEnvelope<ChangeSet>, ApplicationError>Expand description
Collects a bounded fingerprinted local Git change set for one registered checkout.
This operation never stages, commits, modifies, or initializes repository state.
ยงErrors
Returns ApplicationError for unknown repositories, missing snapshots, invalid scopes,
unsafe refs/pathspecs, Git failures, cancellation, timeouts, or output-budget exhaustion.