recdiff

command
v2.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2026 License: MIT Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command recdiff records and compares what two checkouts produce, case by case: the zero-difference differential for changes that must not move observable behaviour (docs/testing.md, "Output differential").

recdiff ingest  <dir> <suite> <srcdir>  # every file under srcdir, key = relative path
recdiff c14n    <dir> <file>...         # parse each file, record its Canonical XML (with comments)
recdiff compare [-allow rules] [-show n] <dirA> <dirB>

A recording is the directory GOXSLT_RECORD_DIR names while the suites run (internal/record): <suite>.tsv manifests of key, sha256 and length, and the bytes under obj/. tests/record.sh makes a whole one.

compare reports every case whose bytes differ. A difference is "explained" when it vanishes once the allow rules have deleted their matches from both sides; each rule line is

<suite glob> <key glob> <regexp to delete>

where "*" also matches across "/", so "xslt* * N\d+x\d+" says generate-id strings may differ anywhere in the XSLT suites, and "xsd11 set/group/case (?s).*" accepts one case outright. A case recorded on one side only is compared as the text "<missing>". The exit status is 1 when anything is left unexplained.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL