summaryrefslogtreecommitdiffstatshomepage
path: root/entities/bug/snapshot.go
diff options
context:
space:
mode:
Diffstat (limited to 'entities/bug/snapshot.go')
-rw-r--r--entities/bug/snapshot.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/entities/bug/snapshot.go b/entities/bug/snapshot.go
index 9dbc7862..32baf42c 100644
--- a/entities/bug/snapshot.go
+++ b/entities/bug/snapshot.go
@@ -9,7 +9,7 @@ import (
"github.com/MichaelMure/git-bug/entity"
)
-var _ entity.Snapshot = &Snapshot{}
+// var _ entity.Snapshot = &Snapshot{}
// Snapshot is a compiled form of the Bug data structure used for storage and merge
type Snapshot struct {
@@ -26,7 +26,7 @@ type Snapshot struct {
Timeline []TimelineItem
- Operations []entity.Operation
+ Operations []Operation
}
// Id returns the Bug identifier
@@ -38,11 +38,11 @@ func (snap *Snapshot) Id() entity.Id {
return snap.id
}
-func (snap *Snapshot) AllOperations() []entity.Operation {
+func (snap *Snapshot) AllOperations() []Operation {
return snap.Operations
}
-func (snap *Snapshot) AppendOperation(op entity.Operation) {
+func (snap *Snapshot) AppendOperation(op Operation) {
snap.Operations = append(snap.Operations, op)
}