ontocore-diff 0.11.1

Semantic ontology diff for OntoCore
Documentation

ontocore-diff

Part of OntoCore (semantic workspace engine).

Semantic ontology diff for OntoCore — compare indexed catalogs, git refs, or directories with breaking-change heuristics.

Install

ontocore-diff = "0.11"

Quick example

use std::path::Path;
use ontocore_diff::{diff_git_refs, format_diff_markdown};

let diff = diff_git_refs(Path::new("/path/to/repo"), "main", "feature")?;
println!("{}", format_diff_markdown(&diff, false));

CLI: ontocore diff main..feature, ontocore diff --breaking-only HEAD..WORKTREE.

Re-exported from ontocore::diff and Workspace::diff / diff_against_path.

Documentation

License

MIT OR Apache-2.0