changestore

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalChangeStore

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

func NewLocalChangeStore

func NewLocalChangeStore() LocalChangeStore

func (LocalChangeStore) AddBranch

func (s LocalChangeStore) AddBranch(ownerId string, projectId uint64, branchName string, commitId uint64) (uint64, error)

func (LocalChangeStore) DeleteBranch

func (s LocalChangeStore) DeleteBranch(ownerId string, projectId uint64, branchId uint64) error

func (LocalChangeStore) DeleteProject

func (s LocalChangeStore) DeleteProject(projectId uint64, ownerId string) error

func (LocalChangeStore) GetBranch

func (s LocalChangeStore) GetBranch(ownerId string, projectId uint64, branchId uint64) (string, uint64, error)

func (LocalChangeStore) GetBranchByName

func (s LocalChangeStore) GetBranchByName(ownerId string, projectId uint64, branchName string) (uint64, uint64, error)

func (LocalChangeStore) ListBranches

func (s LocalChangeStore) ListBranches(ownerId string, projectId uint64) (map[string]uint64, error)

Jump to

Keyboard shortcuts

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