heddle-semantic 0.4.0

An AI-native version control system
Documentation
// SPDX-License-Identifier: Apache-2.0
//! Semantic analysis and parser-heavy diff support.
//!
//! The native hunk-level text merge engine lives in the separate
//! `heddle-merge` crate so it can be used by non-semantic CLI builds.

pub mod analysis;
pub mod cache;
pub mod diff;
pub mod merge_driver;
pub mod parser;
mod symbol_extraction;
pub mod symbol_resolver;

pub use analysis::{
    AggregateKind, AggregatedChange, AggregationResult, HotEventKind, HotSpot, HotSpotKey,
    HotSpotKeyValue, HotSpotParams, HotSpotsReport, SimilarityMethod, aggregate_changes,
    analyze_actor_histogram, analyze_hot_spots, classify_modification,
    classify_modification_with_confidence, compute_similarity, detect_file_renames,
    detect_function_changes,
};
pub use cache::{SemanticParseCache, SemanticParseCacheStats};
pub use diff::{
    DiffKind, SemanticBudget, SemanticCheckOnlyResult, SemanticCheckStatus, SemanticDiffOptions,
    SemanticDiffResult, SemanticFallbackReason, SemanticSummaryResult, WorktreeStatus,
    semantic_check_only, semantic_check_only_worktree, semantic_diff, semantic_diff_summary,
    semantic_diff_summary_worktree, semantic_diff_worktree,
};
pub use merge_driver::{
    MergeStrategy, semantic_three_way_merge, three_way_merge as merge_driver_three_way,
};
pub use parser::{Language, ParsedFile};