Skip to main content

Crate journey

Crate journey 

Source
Expand description

journey — a gitk-style repository browser built on the saudade toolkit.

The crate is split so the UI is testable without a live repository:

  • backend — the RepoBackend trait plus a live git2 implementation and an in-memory fixture for snapshot tests;
  • imagediff — decodes image blobs and composes them into a graphical comparison shown in place of a text diff for image files;
  • svg — rasterizes SVG blobs so they join that comparison (the svg feature; off by feature flag, SVG keeps its text diff);
  • widgets — git-specific widgets (diff view, commit list, …) layered on top of saudade’s generic widget set;
  • ui — the top-level GitClient widget that wires the panes together.

Modules§

backend
The repository abstraction journey’s UI talks to.
imagediff
Graphical diffing of image blobs.
svg
Rasterizing SVG blobs for the graphical diff.
ui
The top-level GitClient widget.
widgets
Git-specific widgets layered on top of saudade’s generic set.