Weave documentation
loom-diff

loom-diff

Line-level diff for loom. Pure-function unified-diff over byte slices and text strings, used by both the loom CLI and the loom-gateway. Layered above weave-sdk; lower levels untouched.

Purpose and workflow

Use file_diff or diff_blobs for structured changes and unified_diff_string for terminal output. The null-byte heuristic treats binary content separately; do not interpret a binary diff result as UTF-8 text.

Source and configuration

Package loom-diff, version 0.1.1, source tools/loom-diff. Read the declared module reference for signatures, input/output types, errors and feature flags.

Loom integrations are pre-1.0. Check the actual adapter and authority path before connecting a production service.

Start from the public boundary

On this page