Gengora.Tools
2.5.0
dotnet add package Gengora.Tools --version 2.5.0
NuGet\Install-Package Gengora.Tools -Version 2.5.0
<PackageReference Include="Gengora.Tools" Version="2.5.0" />
<PackageVersion Include="Gengora.Tools" Version="2.5.0" />
<PackageReference Include="Gengora.Tools" />
paket add Gengora.Tools --version 2.5.0
#r "nuget: Gengora.Tools, 2.5.0"
#:package Gengora.Tools@2.5.0
#addin nuget:?package=Gengora.Tools&version=2.5.0
#tool nuget:?package=Gengora.Tools&version=2.5.0
Gengora.Tools
Gengora.Tools contains the shared human-readable text diff used by Gengora
compiler packages, tests, and diagnostic output.
Use it
Most consumers receive this package transitively. Generator or test tooling can reference it directly:
<PackageReference Include="Gengora.Tools" />
string report = Differ.Diff(expectedText, actualText, filePath);
The line comparison preserves CR, LF and CRLF, including the presence or absence of the last line ending. Changed lines show their actual ending markers in both sides and the unified view. An empty string means no text changes were detected. A nonempty result contains side-by-side and unified output with space/tab visualization.
Boundary
The diff is presentation for humans. It is not a patch format, semantic source
comparison, or authorization to accept a generated golden. Generated-output
acceptance must compare complete files and remain an explicit review action.
Input controls, Unicode format/default-ignorable characters, non-ASCII
whitespace and invalid UTF-16 units are displayed as visible \u{...} tokens
in bodies and file-path headers. Ordinary Unicode, combining accents and the
existing space/tab visualization are retained. The default-ignorable ranges
are pinned to Unicode 17.0.
The renderer's own ANSI styling remains active.
This presentation is not an injective encoding: literal \u{001B} text looks
like the displayed ESC token. Widths count UTF-16 units rather than terminal
columns, so wide/combining characters can still misalign the box. The renderer
also has no input/output size budget. Use an explicit ordinal or byte
comparison for equality and review complete source separately.
See generator testing.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- DiffPlex (>= 1.9.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Gengora.Tools:
| Package | Downloads |
|---|---|
|
Gengora.Common
Compiler workspace, pipeline, and generated-output ownership primitives for Gengora generator hosts. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.5.0 | 129 | 11/5/2026 |
| 2.5.0-rc.290-commonabi... | 80 | 10/31/2026 |
| 2.5.0-rc.287-openedstream... | 117 | 10/31/2026 |
| 2.5.0-rc.263-rawjson... | 170 | 10/29/2026 |