diff options
author | Michael Muré <batolettre@gmail.com> | 2018-08-02 23:37:49 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-08-02 23:37:49 +0200 |
commit | d8f89726fec3822d7d1dd42c52f478f37003b534 (patch) | |
tree | 567e97ee605ef3a286e42e11535fa6516321e743 /bug/operation.go | |
parent | ed8f7eca9a8e0d1c448a7cc6240e2b7e357cf354 (diff) | |
download | git-bug-d8f89726fec3822d7d1dd42c52f478f37003b534.tar.gz |
implement media hosting in git for comments + API for the webui
Diffstat (limited to 'bug/operation.go')
-rw-r--r-- | bug/operation.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bug/operation.go b/bug/operation.go index 74be2fac..736c88dd 100644 --- a/bug/operation.go +++ b/bug/operation.go @@ -1,6 +1,9 @@ package bug -import "time" +import ( + "github.com/MichaelMure/git-bug/util" + "time" +) type OperationType int @@ -17,6 +20,7 @@ type Operation interface { OpType() OperationType Time() time.Time Apply(snapshot Snapshot) Snapshot + Files() []util.Hash // TODO: data validation (ex: a title is a single line) // Validate() bool |