diff options
author | Michael Muré <batolettre@gmail.com> | 2018-08-06 20:31:20 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-08-06 20:31:20 +0200 |
commit | 435be2b693aee89ed34a2d1e7291b3b141b19717 (patch) | |
tree | 89244a9dcb995c27002995e9f25f9be631101713 /bug/operation.go | |
parent | 593891b8e01fd89866b30854a60aece1dad5f6ab (diff) | |
download | git-bug-435be2b693aee89ed34a2d1e7291b3b141b19717.tar.gz |
bug: add a Lamport logical clock to be able to sort bugs by creation time and edit time without having to rely on a timestamp
Diffstat (limited to 'bug/operation.go')
-rw-r--r-- | bug/operation.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bug/operation.go b/bug/operation.go index 736c88dd..3949ac7b 100644 --- a/bug/operation.go +++ b/bug/operation.go @@ -47,3 +47,7 @@ func (op OpBase) OpType() OperationType { func (op OpBase) Time() time.Time { return time.Unix(op.UnixTime, 0) } + +func (op OpBase) Files() []util.Hash { + return nil +} |