mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
feat(repository): add ability to pass callbacks for remote and repository creation during clone
This commit is contained in:
parent
b1f112a30d
commit
6d48ae742c
4 changed files with 161 additions and 6 deletions
|
@ -119,9 +119,11 @@ class Remote {
|
|||
/// to remote object in memory.
|
||||
const Remote(this._remotePointer);
|
||||
|
||||
/// Pointer to memory address for allocated remote object.
|
||||
final Pointer<git_remote> _remotePointer;
|
||||
|
||||
/// Pointer to memory address for allocated remote object.
|
||||
Pointer<git_remote> get pointer => _remotePointer;
|
||||
|
||||
/// Returns the remote's name.
|
||||
String get name => bindings.name(_remotePointer);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue