diff options
Diffstat (limited to 'repository/repo.go')
-rw-r--r-- | repository/repo.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/repository/repo.go b/repository/repo.go index d0004c8b..3ae09057 100644 --- a/repository/repo.go +++ b/repository/repo.go @@ -107,6 +107,10 @@ type ClockedRepo interface { EditWitness(time lamport.Time) error } +// Witnesser is a function that will initialize the clocks of a repo +// from scratch +type Witnesser func(repo ClockedRepo) error + func prepareTreeEntries(entries []TreeEntry) bytes.Buffer { var buffer bytes.Buffer |