mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
refactor(reflog): use naming conventions for similar methods
This commit is contained in:
parent
5675f9265c
commit
c26e3f4539
4 changed files with 15 additions and 17 deletions
|
@ -34,7 +34,7 @@ int entryCount(Pointer<git_reflog> reflog) =>
|
|||
///
|
||||
/// Requesting the reflog entry with an index of 0 (zero) will return
|
||||
/// the most recently created entry.
|
||||
Pointer<git_reflog_entry> entryByIndex(Pointer<git_reflog> reflog, int idx) {
|
||||
Pointer<git_reflog_entry> getByIndex(Pointer<git_reflog> reflog, int idx) {
|
||||
return libgit2.git_reflog_entry_byindex(reflog, idx);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue