Uses of Interface
io.github.jbastgen.stemma.git.api.DiffTarget
-
Uses of DiffTarget in io.github.jbastgen.stemma.git.api
Classes in io.github.jbastgen.stemma.git.api that implement DiffTargetModifier and TypeClassDescriptionstatic final recordWhat a commit changed compared with its first parent (for a root commit: everything is added).static final recordThe staged changes:HEADagainst the index (what the next commit will contain).static final recordThe unstaged changes: the index against the working tree.static final recordThe uncommitted changes:HEADagainst the working tree (staged and unstaged together).Methods in io.github.jbastgen.stemma.git.api with parameters of type DiffTargetModifier and TypeMethodDescriptionGitRepository.diff(DiffTarget target, String path) The diff of one file, seeFileDiff.default FileDiffGitRepository.diff(DiffTarget target, String path, int contextLines) AsGitRepository.diff(DiffTarget, String), withcontextLinesunchanged lines before and after each change (0 shows the changed lines only).