store

package
v0.15.0-alpha14 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Index

Constants

View Source
const BathSize = 100

Variables

This section is empty.

Functions

This section is empty.

Types

type CsvStore

type CsvStore struct {
	// contains filtered or unexported fields
}

func NewCsvStore

func NewCsvStore(dir string) (*CsvStore, errors.Error)

func (*CsvStore) Close

func (c *CsvStore) Close() errors.Error

func (*CsvStore) CommitFileComponents added in v0.12.0

func (c *CsvStore) CommitFileComponents(commitFileComponent *code.CommitFileComponent) errors.Error

func (*CsvStore) CommitFiles

func (c *CsvStore) CommitFiles(file *code.CommitFile) errors.Error

func (*CsvStore) CommitLineChange added in v0.14.0

func (c *CsvStore) CommitLineChange(commitLineChange *code.CommitLineChange) errors.Error

func (*CsvStore) CommitParents

func (c *CsvStore) CommitParents(pp []*code.CommitParent) errors.Error

func (*CsvStore) Commits

func (c *CsvStore) Commits(commit *code.Commit) errors.Error

func (*CsvStore) Refs

func (c *CsvStore) Refs(ref *code.Ref) errors.Error

func (*CsvStore) RepoCommits

func (c *CsvStore) RepoCommits(repoCommit *code.RepoCommit) errors.Error

func (*CsvStore) RepoSnapshot added in v0.15.0

func (c *CsvStore) RepoSnapshot(ss *code.RepoSnapshot) errors.Error

type Database

type Database struct {
	// contains filtered or unexported fields
}

func NewDatabase

func NewDatabase(basicRes core.BasicRes, repoId string) *Database

func (*Database) Close

func (d *Database) Close() errors.Error

func (*Database) CommitFileComponents added in v0.12.0

func (d *Database) CommitFileComponents(commitFileComponent *code.CommitFileComponent) errors.Error

func (*Database) CommitFiles

func (d *Database) CommitFiles(file *code.CommitFile) errors.Error

func (*Database) CommitLineChange added in v0.14.0

func (d *Database) CommitLineChange(commitLineChange *code.CommitLineChange) errors.Error

func (*Database) CommitParents

func (d *Database) CommitParents(pp []*code.CommitParent) errors.Error

func (*Database) Commits

func (d *Database) Commits(commit *code.Commit) errors.Error

func (*Database) Refs

func (d *Database) Refs(ref *code.Ref) errors.Error

func (*Database) RepoCommits

func (d *Database) RepoCommits(repoCommit *code.RepoCommit) errors.Error

func (*Database) RepoSnapshot added in v0.15.0

func (d *Database) RepoSnapshot(snapshotElement *code.RepoSnapshot) errors.Error

Jump to

Keyboard shortcuts

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