aboutsummaryrefslogblamecommitdiffstats
path: root/cache/common.go
blob: 33fb2bc124fee3347ebd321d3734b436607a9395 (plain) (tree)
1
2
3

             
                                      












                                                   
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()
}