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
IOException
List<ReflogEntry> getReverseEntries() throws IOException
IOException
ReflogEntry getReverseEntry(int number) throws IOException
number
- a int.IOException
List<ReflogEntry> getReverseEntries(int max) throws IOException
max
- max number of entries to readIOException
Copyright © 2019 Eclipse JGit Project. All rights reserved.