public interface ReflogReader
Modifier and Type | Method and Description |
---|---|
ReflogEntry |
getLastEntry()
Get the last entry in the reflog
|
java.util.List<ReflogEntry> |
getReverseEntries()
Get all reflog entries in reverse order
|
java.util.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 java.io.IOException
java.io.IOException
java.util.List<ReflogEntry> getReverseEntries() throws java.io.IOException
java.io.IOException
ReflogEntry getReverseEntry(int number) throws java.io.IOException
number
- a int.java.io.IOException
java.util.List<ReflogEntry> getReverseEntries(int max) throws java.io.IOException
max
- max number of entries to readjava.io.IOException