summaryrefslogtreecommitdiff
path: root/tag.go
diff options
context:
space:
mode:
authorCalin Seciu <[email protected]>2015-07-31 09:51:19 +0200
committerCalin Seciu <[email protected]>2015-07-31 09:51:19 +0200
commit12311c8528c577ebb11006f24c026c7a4d2f2de3 (patch)
tree583968b97421bb100874f73246ee4af4017c6253 /tag.go
parenta2e4e9259be7fcd4019e85accc7f25f130c27d3c (diff)
Add TagsCollection
Diffstat (limited to 'tag.go')
-rw-r--r--tag.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/tag.go b/tag.go
index 89ac8bd..74b18d8 100644
--- a/tag.go
+++ b/tag.go
@@ -42,3 +42,7 @@ func (t Tag) TargetId() *Oid {
func (t Tag) TargetType() ObjectType {
return ObjectType(C.git_tag_target_type(t.cast_ptr))
}
+
+type TagsCollection struct {
+ repo *Repository
+}