Documentation
¶
Overview ¶
Package diffs implements the portable text-only diffs tool.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Definition ¶
func Definition() toolcontract.Definition
Definition returns the stable model-facing tool declaration.
func Execute ¶
func Execute(_ context.Context, call toolcontract.Call) (toolcontract.Result, error)
Execute decodes a canonical JSON call and runs the text-only diff.
func Register ¶
func Register(registrar toolcontract.Registrar)
Register adds the diffs implementation to a compatible catalog.
Types ¶
Click to show internal directories.
Click to hide internal directories.