aboutsummaryrefslogtreecommitdiffstats
path: root/repository/repo.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-11-19 18:54:22 +0100
committerGitHub <noreply@github.com>2019-11-19 18:54:22 +0100
commitabae3c245e1f844ebadb79eb5d7b19412f67f886 (patch)
tree9c5e06aa4e1ef9b41ceb21408de493d2e91b3d00 /repository/repo.go
parentfdbff4dba7d6e56edfed1030e6fede2a7a35b507 (diff)
parented2ac793e9f353720db2615b06569d05c253b977 (diff)
downloadgit-bug-abae3c245e1f844ebadb79eb5d7b19412f67f886.tar.gz
Merge pull request #257 from MichaelMure/core-fixes
Core fixes
Diffstat (limited to 'repository/repo.go')
-rw-r--r--repository/repo.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/repository/repo.go b/repository/repo.go
index e8c67a5e..71bd7a8e 100644
--- a/repository/repo.go
+++ b/repository/repo.go
@@ -111,13 +111,13 @@ type ClockedRepo interface {
// EditTimeIncrement increment the edit clock and return the new value.
EditTimeIncrement() (lamport.Time, error)
- // CreateWitness witness another create time and increment the corresponding
+ // WitnessCreate witness another create time and increment the corresponding
// clock if needed.
- CreateWitness(time lamport.Time) error
+ WitnessCreate(time lamport.Time) error
- // EditWitness witness another edition time and increment the corresponding
+ // WitnessEdit witness another edition time and increment the corresponding
// clock if needed.
- EditWitness(time lamport.Time) error
+ WitnessEdit(time lamport.Time) error
}
// Witnesser is a function that will initialize the clocks of a repo