Class RegistryDelta
java.lang.Object
network.ike.docs.plugin.diff.RegistryDelta
Entry-keyed delta of the IKE topic registry between the two sides of
a doc-diff comparison, rendered as an AsciiDoc partial
(ike-issues#650).
Always keyed by entry id, never by line: the registry is YAML and
ids are its stable keys. Output is condensed for review —
summary/notes changes are flagged as rewritten rather
than reproduced, list fields report added/removed items, scalars
report old → new. Covers the per-domain files, the root index counts,
and assembly topic-ref membership.
-
Constructor Summary
ConstructorsConstructorDescriptionRegistryDelta(GitSource git, String fromRef, String toRef) Create a delta generator over one comparison. -
Method Summary
-
Constructor Details
-
RegistryDelta
Create a delta generator over one comparison.- Parameters:
git- the repository accessfromRef- the from-side reftoRef- the to-side ref (may beGitSource.WORKTREE)
-
-
Method Details
-
render
Render the delta as an AsciiDoc partial with a level-1 title.- Parameters:
rootRegistry- repository-relative path of the thin root index (…/topic-registry.yaml)registryDir- repository-relative directory of the per-domain files (…/topic-registry)- Returns:
- the partial's text, or an empty string when nothing in the registry changed
- Throws:
IOException- on repository access failure
-