feat: upgrade libgit2 to 1.4.0 (#45)

This commit is contained in:
Aleksey Kulikov 2022-02-16 16:57:52 +03:00 committed by GitHub
parent 7a067beeb9
commit d901d2e13f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 747 additions and 287 deletions

View file

@ -90,11 +90,11 @@ class PackBuilder {
/// Number of objects the packbuilder has already written out.
int get writtenLength => bindings.writtenCount(_packbuilderPointer);
/// Packfile's hash.
/// Unique name for the resulting packfile.
///
/// A packfile's name is derived from the sorted hashing of all object names.
/// This is only correct after the packfile has been written.
Oid get hash => Oid(bindings.hash(_packbuilderPointer));
/// The packfile's name is derived from the packfile's content. This is only
/// correct after the packfile has been written.
String get name => bindings.name(_packbuilderPointer);
/// Sets and returns the number of threads to spawn.
///