Module libdiffsitter::render

source ·
Expand description

Utilities and modules related to rendering diff outputs.

We have a modular system for displaying diff data to the terminal. Using this system makes it much easier to extend with new formats that people may request.

This library defines a fairly minimal interface for renderers: a single trait called Renderer. From there implementers are free to do whatever they want with the diff data.

This module also defines utilities that may be useful for Renderer implementations.

Structs

Enums

  • The formatting directives to use with emphasized text in the line of a diff

Traits

  • An interface that renders given diff data.