db

package
v0.0.0-...-32a7359 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SQLiteBackend

type SQLiteBackend struct {
	Db *sql.DB
}

func (*SQLiteBackend) AddCommit

func (sqlb *SQLiteBackend) AddCommit(commit *common.Commit) error

func (*SQLiteBackend) AddCommits

func (sqlb *SQLiteBackend) AddCommits(commits []*common.Commit) error

func (*SQLiteBackend) AuthorCommits

func (sqlb *SQLiteBackend) AuthorCommits(authorEmail string) ([]*common.Commit, error)

func (*SQLiteBackend) Authors

func (sqlb *SQLiteBackend) Authors() ([]string, error)

func (*SQLiteBackend) Close

func (sqlb *SQLiteBackend) Close() error

func (*SQLiteBackend) Commit

func (sqlb *SQLiteBackend) Commit(commitId string) (*common.Commit, error)

func (*SQLiteBackend) Commits

func (sqlb *SQLiteBackend) Commits() ([]*common.Commit, error)

func (*SQLiteBackend) DB

func (sqlb *SQLiteBackend) DB() *sql.DB

func (*SQLiteBackend) Open

func (sqlb *SQLiteBackend) Open(path string) error

func (*SQLiteBackend) ScanRowInRowsToCommits

func (sqlb *SQLiteBackend) ScanRowInRowsToCommits(rows *sql.Rows) *common.Commit

func (*SQLiteBackend) Setup

func (sqlb *SQLiteBackend) Setup() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL