feat(tag): add binding and api method for git_tag_target_id

This commit is contained in:
Aleksey Kulikov 2022-01-13 14:43:00 +03:00
parent 6bdf133f06
commit d81af61563
3 changed files with 10 additions and 1 deletions

View file

@ -137,6 +137,9 @@ class Tag {
}
}
/// [Oid] of the tagged object of a tag.
Oid get targetOid => Oid(bindings.targetOid(_tagPointer));
/// [Oid] of a tag.
Oid get oid => Oid(bindings.id(_tagPointer));