Class SampleData
java.lang.Object
io.github.jbastgen.stemma.app.model.SampleData
Sample data used by the UI prototype until a real git backend is wired in.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final List<FileChange> Files shown for commits that carry no explicit file list.static final List<LibraryEntry> -
Method Summary
Modifier and TypeMethodDescriptionstatic List<FileChange> Files of a commit: its own list, or sample files derived from its position in the history.static RepoStatefreshRepo(LibraryEntry lib) A just-created repository with a single initial commit.Commits shown in the "recent commits" preview of the library.static RepoStaterepoFor(LibraryEntry lib) Sample history shown for every repository opened from the library.
-
Field Details
-
FILES
Files shown for commits that carry no explicit file list. -
LIBRARY
-
-
Method Details
-
recentCommits
Commits shown in the "recent commits" preview of the library. -
repoFor
Sample history shown for every repository opened from the library. -
freshRepo
A just-created repository with a single initial commit. -
filesOf
Files of a commit: its own list, or sample files derived from its position in the history.
-