Skip to main content

semantic/diff/
mod.rs

1// SPDX-License-Identifier: Apache-2.0
2//! Semantic diff: detect high-level code changes.
3
4mod diff_core;
5mod diff_engine;
6mod diff_helpers;
7mod diff_options;
8mod diff_support;
9mod diff_types;
10
11#[cfg(test)]
12mod diff_tests;
13
14pub use diff_core::{
15    semantic_check_only, semantic_check_only_with_cache, semantic_check_only_worktree,
16    semantic_check_only_worktree_with_cache, semantic_diff, semantic_diff_summary,
17    semantic_diff_summary_with_cache, semantic_diff_summary_worktree,
18    semantic_diff_summary_worktree_with_cache, semantic_diff_with_cache, semantic_diff_worktree,
19    semantic_diff_worktree_with_cache,
20};
21pub use diff_options::SemanticDiffOptions;
22pub use diff_types::{
23    SemanticBudget, SemanticCheckOnlyResult, SemanticCheckStatus, SemanticDiffResult,
24    SemanticFallbackReason, SemanticSummaryResult,
25};
26pub use objects::{object::DiffKind, worktree::WorktreeStatus};