Documentation ¶
Index ¶
- func Compact(dir string) error
- type BatchDB
- type DB
- type ObjDB
- func (self *ObjDB) Close()
- func (self *ObjDB) GetBlobByHex(h string) ([]byte, error)
- func (self *ObjDB) HasBlob(hash plumbing.Hash) (bool, error)
- func (self *ObjDB) Msg() chan string
- func (self *ObjDB) PutBlob(hash plumbing.Hash, v []byte) (err error)
- func (self *ObjDB) PutObj(b *object.Blob) error
- func (self *ObjDB) PutObjects(iter *object.BlobIter) error
- func (self *ObjDB) Wait(v bool, show int)
- type RefDB
- func (self *RefDB) CashePrefech(r []string)
- func (self *RefDB) Close()
- func (self *RefDB) DelRef(owner, project string) error
- func (self *RefDB) GetRef(owner, project string) []gitext.Ref
- func (self *RefDB) HasRef(owner, project string) (bool, error)
- func (self *RefDB) Init(r []string)
- func (self *RefDB) IsBuild(owner, project string) bool
- func (self *RefDB) NoDB()
- func (self *RefDB) OK(owner, project string) bool
- func (self *RefDB) Open() *leveldb.DB
- func (self *RefDB) PutRef(owner, project string, r []gitext.Ref) (err error)
- func (self *RefDB) PutRefSync(owner, project string, r []gitext.Ref) (err error)
- func (self *RefDB) RemoteOK(owner, project string) bool
- func (self *RefDB) SetBuild(owner, project string, ir []gitext.Ref) (r []gitext.Ref, err error)
- func (self *RefDB) Stop()
- func (self *RefDB) UnCashe(r []string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BatchDB ¶
type BatchDB struct {
// contains filtered or unexported fields
}
func NewBatchDB ¶
func (*BatchDB) EndSession ¶
func (*BatchDB) NewSession ¶
type ObjDB ¶
type ObjDB struct { Force bool // contains filtered or unexported fields }
func NewObjectDB ¶
Click to show internal directories.
Click to hide internal directories.