Skip to main content

Module fixture

Module fixture 

Source
Expand description

An in-memory RepoBackend for tests and demos.

FixtureBackend holds a hand-built commit history with deterministic SHAs, timestamps, refs, file lists and diffs, so snapshot tests render identical pixels on every machine without touching a real repository.

Structs§

FileEntry
A file changed by a commit, paired with the diff that produced it.
FixtureBackend

Functions§

commit
Build a CommitInfo without the ceremony of naming every field.