mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29:08 -04:00
feat(tag)!: add bindings and API methods (#36)
- add binding and API method for git_tag_create_lightweight - add API method that returns tag target type BREAKING CHANGE: add specific methods `createAnnotated` and `createLightweight`.
This commit is contained in:
parent
f7dde69de3
commit
3e1ece4e6f
6 changed files with 366 additions and 42 deletions
|
@ -74,7 +74,7 @@ void main() {
|
|||
time: 1234,
|
||||
);
|
||||
final commit = repo.lookupCommit(repo['fc38877']);
|
||||
repo.createTag(
|
||||
repo.createAnnotatedTag(
|
||||
tagName: 'test/tag1',
|
||||
target: repo['f17d0d48'],
|
||||
targetType: GitObject.commit,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue