summaryrefslogtreecommitdiff
path: root/note.go
diff options
context:
space:
mode:
Diffstat (limited to 'note.go')
-rw-r--r--note.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/note.go b/note.go
index 9df1b9d..05eadb8 100644
--- a/note.go
+++ b/note.go
@@ -13,6 +13,7 @@ import (
// This object represents the possible operations which can be
// performed on the collection of notes for a repository.
type NoteCollection struct {
+ doNotCompare
repo *Repository
}
@@ -139,6 +140,7 @@ func (c *NoteCollection) DefaultRef() (string, error) {
// Note
type Note struct {
+ doNotCompare
ptr *C.git_note
r *Repository
}
@@ -189,6 +191,7 @@ func (n *Note) Message() string {
// NoteIterator
type NoteIterator struct {
+ doNotCompare
ptr *C.git_note_iterator
r *Repository
}