refactor: pass repository object to arguments instead of pointer

This commit is contained in:
Aleksey Kulikov 2021-08-30 17:14:52 +03:00
parent 94b4116adf
commit e0e3742457
6 changed files with 45 additions and 26 deletions

View file

@ -14,7 +14,7 @@ class RefLog {
final repo = ref.owner;
final name = ref.name;
_reflogPointer = bindings.read(repo, name);
_reflogPointer = bindings.read(repo.pointer, name);
}
/// Pointer to memory address for allocated reflog object.