diff options
author | Michael Muré <batolettre@gmail.com> | 2020-07-01 19:39:02 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2020-07-01 19:39:02 +0200 |
commit | 3cf31fc4049fefc82db0a3d2018b5d98ab77c5d7 (patch) | |
tree | c77a29e1f35fefa5040454976c6edcf86e7678bc /bug/operation.go | |
parent | 33d510ac3999b3d8fa7a4652dc44a21c713f97de (diff) | |
download | git-bug-3cf31fc4049fefc82db0a3d2018b5d98ab77c5d7.tar.gz |
repository: merge git.Hash in for one less /util package
Diffstat (limited to 'bug/operation.go')
-rw-r--r-- | bug/operation.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bug/operation.go b/bug/operation.go index 91df4ef2..107c954e 100644 --- a/bug/operation.go +++ b/bug/operation.go @@ -10,7 +10,7 @@ import ( "github.com/MichaelMure/git-bug/entity" "github.com/MichaelMure/git-bug/identity" - "github.com/MichaelMure/git-bug/util/git" + "github.com/MichaelMure/git-bug/repository" ) // OperationType is an operation type identifier @@ -37,7 +37,7 @@ type Operation interface { // Time return the time when the operation was added Time() time.Time // GetFiles return the files needed by this operation - GetFiles() []git.Hash + GetFiles() []repository.Hash // Apply the operation to a Snapshot to create the final state Apply(snapshot *Snapshot) // Validate check if the operation is valid (ex: a title is a single line) @@ -142,7 +142,7 @@ func (op *OpBase) Time() time.Time { } // GetFiles return the files needed by this operation -func (op *OpBase) GetFiles() []git.Hash { +func (op *OpBase) GetFiles() []repository.Hash { return nil } |