models

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser interface {
	CloneOverHTTP(ctx context.Context, repoId, url, user, password, proxy string) error
	CloneOverSSH(ctx context.Context, repoId, url, privateKey, passphrase string) error
	LocalRepo(ctx context.Context, repoPath, repoId string) error
}

type Store

type Store interface {
	RepoCommits(repoCommit *code.RepoCommit) error
	Commits(commit *code.Commit) error
	Refs(ref *code.Ref) error
	CommitFiles(file *code.CommitFile) error
	CommitParents(pp []*code.CommitParent) error
	Close() error
	Flush() error
}

Jump to

Keyboard shortcuts

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