Docs · API reference · Verso.Abstractions
NotebookDiffResult Class#
The result of comparing a baseline notebook against the current notebook: an ordered list of per-cell diff entries plus notebook-level metadata changes.
public sealed class NotebookDiffResult
Inheritance System.Object → NotebookDiffResult
Properties#
BaselineLabel Property#
Gets or sets a human-readable label describing the baseline (e.g. "Git: HEAD", "Last Saved").
public string BaselineLabel { get; set; }
Property Value#
Cells Property#
Gets or sets the per-cell diff entries, ordered to follow the current notebook, with removed cells spliced in near their former neighbors.
public System.Collections.Generic.List<Verso.Abstractions.CellDiffEntry> Cells { get; set; }
Property Value#
System.Collections.Generic.List<CellDiffEntry>
MetadataChanges Property#
Gets or sets the notebook-level metadata changes (title, default kernel, layout, theme, extensions).
public System.Collections.Generic.List<Verso.Abstractions.MetadataChange> MetadataChanges { get; set; }
Property Value#
System.Collections.Generic.List<MetadataChange>
Summary Property#
Gets or sets the tallied counts of each diff kind.
public Verso.Abstractions.NotebookDiffSummary Summary { get; set; }