store

package
v0.14.0-alpha1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 11 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) 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

type Database

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

func NewDatabase

func NewDatabase(basicRes core.BasicRes, repoUrl 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) 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

Jump to

Keyboard shortcuts

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