Help us shape the future of Go! Take the 2026 Go Developer Survey

treecmp

command
v0.62.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2026 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

Command treecmp says whether two directory trees hold the same files, byte for byte:

treecmp GENERATED REFERENCE

Every file under GENERATED must exist under REFERENCE with the same bytes; with --both, every file under REFERENCE must also exist under GENERATED. It answers "does this generator, run again, give back what is committed?" -- the question a moved or regenerated brand kit raises.

⛔ A byte difference is not yet a defect. A PNG, a PDF or an ICO written by a newer library version can differ in every byte and hold the same picture; treecmp says WHICH files differ, and pngeq says whether their pixels do.

Jump to

Keyboard shortcuts

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