Skip to main content

Crate rustik_repo

Crate rustik_repo 

Source
Expand description

Repository abstraction layer for Rustik tools.

Expanding hunk context means rerunning a diff at a different unified-context width. The Repo trait keeps that repository access behind a small boundary so diff viewers stay I/O-free and testable; GitRepo is the git diff implementation used by the rustik-diff pager. The trait yields raw unified-diff bytes — parsing is left to the caller, so this crate carries no diff-format dependency.

Structs§

GitRepo
A Repo backed by the git diff command.

Enums§

RepoError
A failure while refetching diff data from a Repo.

Traits§

Repo
A diff backend a viewer can re-query for wider hunk context.