Documentation
¶
Index ¶
- type BadgerDB
- type Database
- func (kv *Database) Branches(repo string) ([]string, error)
- func (kv *Database) DeleteBranches(repo string) error
- func (kv *Database) DeleteLastCommitOfBranch(repo, branch string) error
- func (kv *Database) DeleteRepo(repo string) error
- func (kv *Database) DeleteTags(repo string) error
- func (kv *Database) LastCommitOfBranch(repo, branch string) (string, error)
- func (kv *Database) SetBranches(repo string, branches []string) error
- func (kv *Database) SetLastCommitOfBranch(repo, branch, commit string) error
- func (kv *Database) SetTags(repo string, tags []string) error
- func (kv *Database) Tags(repo string) ([]string, error)
- type IDatabase
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
func NewDatabase ¶
func (*Database) DeleteBranches ¶
func (*Database) DeleteLastCommitOfBranch ¶
func (*Database) DeleteRepo ¶
func (*Database) DeleteTags ¶
func (*Database) LastCommitOfBranch ¶
func (*Database) SetBranches ¶
func (*Database) SetLastCommitOfBranch ¶
Click to show internal directories.
Click to hide internal directories.