A commit in a version control system.
- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescription@NotNull Commit
commit(String id, String message, Collection<? extends File> delta)
Create a new commit on top of this one.@NotNull Commit
Create a new commit on top of this one.@NotNull Commit
commit(String id, Collection<? extends File> delta)
Create a new commit on top of this one.@NotNull Commit
Create a new commit on top of this one.@NotNull Collection<File>
delta()
The files affected by this commit, in no particular order.@NotNull Collection<File>
files()
The files after this commit, in no particular order.@NotNull Commit
Merge two commits.@NotNull Commit
Merge two commits.@NotNull Commit
merge(String id, Commit with, Collection<? extends File> delta)
Merge two commits.@NotNull Commit
Merge two commits.@NotNull Meta
meta()
Get the meta data representing this commit.@NotNull Files
Create a version graph when migrating between two commits.@NotNull Collection<Source>
sources()
The sources after this commit, in no particular order.@NotNull Version
version()
Get the version representing this commit.
-
Method Details
-
delta
The files affected by this commit, in no particular order. -
files
The files after this commit, in no particular order. -
sources
The sources after this commit, in no particular order. -
version
Get the version representing this commit. -
meta
Get the meta data representing this commit. -
migrateTo
Create a version graph when migrating between two commits. -
commit
Create a new commit on top of this one. -
commit
Create a new commit on top of this one. -
commit
Create a new commit on top of this one. -
commit
Create a new commit on top of this one. -
merge
Merge two commits. -
merge
Merge two commits. -
merge
Merge two commits. -
merge
@NotNull @NotNull Commit merge(String id, String message, Commit with, Collection<? extends File> delta)Merge two commits.
-