aboutsummaryrefslogtreecommitdiffstats
path: root/identity/identity_stub.go
diff options
context:
space:
mode:
Diffstat (limited to 'identity/identity_stub.go')
-rw-r--r--identity/identity_stub.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/identity/identity_stub.go b/identity/identity_stub.go
index b6bc0ab0..592eab30 100644
--- a/identity/identity_stub.go
+++ b/identity/identity_stub.go
@@ -5,6 +5,7 @@ import (
"github.com/MichaelMure/git-bug/repository"
"github.com/MichaelMure/git-bug/util/lamport"
+ "github.com/MichaelMure/git-bug/util/timestamp"
)
var _ Interface = &IdentityStub{}
@@ -93,3 +94,11 @@ func (i *IdentityStub) CommitAsNeeded(repo repository.ClockedRepo) error {
func (IdentityStub) IsProtected() bool {
panic("identities needs to be properly loaded with identity.ReadLocal()")
}
+
+func (i *IdentityStub) LastModificationLamport() lamport.Time {
+ panic("identities needs to be properly loaded with identity.ReadLocal()")
+}
+
+func (i *IdentityStub) LastModification() timestamp.Timestamp {
+ panic("identities needs to be properly loaded with identity.ReadLocal()")
+}