diff options
author | Antonio Jesus Navarro Perez <antonio@sourced.tech> | 2017-02-21 14:53:30 +0100 |
---|---|---|
committer | Antonio Jesus Navarro Perez <antonio@sourced.tech> | 2017-02-21 14:55:58 +0100 |
commit | 6e15f9cb0dbac68992eb242282e725784fe72b32 (patch) | |
tree | 04246d19a1c4814752599ff8d02da35c09f1dc20 /cache/common.go | |
parent | 0b8b8da617d5a077f282e57d0300dc106a604236 (diff) | |
download | go-git-6e15f9cb0dbac68992eb242282e725784fe72b32.tar.gz |
cache: move package to plumbing
Because cache package is only intended to be used at internal level, we move it to the plumbing package.
Diffstat (limited to 'cache/common.go')
-rw-r--r-- | cache/common.go | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/cache/common.go b/cache/common.go deleted file mode 100644 index 33fb2bc..0000000 --- a/cache/common.go +++ /dev/null @@ -1,16 +0,0 @@ -package cache - -import "srcd.works/go-git.v4/plumbing" - -const ( - Byte = 1 << (iota * 10) - KiByte - MiByte - GiByte -) - -type Object interface { - Add(o plumbing.EncodedObject) - Get(k plumbing.Hash) plumbing.EncodedObject - Clear() -} |