public interface ReflogReader
| Modifier and Type | Method and Description |
|---|---|
ReflogEntry |
getLastEntry()
Get the last entry in the reflog
|
List<ReflogEntry> |
getReverseEntries()
Get all reflog entries in reverse order
|
List<ReflogEntry> |
getReverseEntries(int max)
Get all reflog entries in reverse order
|
ReflogEntry |
getReverseEntry(int number)
Get specific entry in the reflog relative to the last entry which is
considered entry zero.
|
ReflogEntry getLastEntry() throws IOException
IOExceptionList<ReflogEntry> getReverseEntries() throws IOException
IOExceptionReflogEntry getReverseEntry(int number) throws IOException
number - a int.IOExceptionList<ReflogEntry> getReverseEntries(int max) throws IOException
max - max number of entries to readIOExceptionCopyright © 2019 Eclipse JGit Project. All rights reserved.