opdatastorebranch

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalStore

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

func NewOpDataStoreBranch

func NewOpDataStoreBranch() *LocalStore

func (*LocalStore) DeleteBranch

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

func (*LocalStore) DeleteProject

func (s *LocalStore) DeleteProject(ownerId string, projectId uint64) error

func (*LocalStore) GetChangedPathHashes

func (s *LocalStore) GetChangedPathHashes(ownerId string, projectId uint64, branchId uint64) [][]byte

func (*LocalStore) Read

func (s *LocalStore) Read(ownerId string, projectId, branchId uint64, pathHash []byte, offset uint64, length uint64) (*pb.Operation, error)

func (*LocalStore) Write

func (s *LocalStore) Write(ownerId string, projectId, branchId uint64, pathHash []byte, op *pb.Operation) (offset uint64, length uint64, err error)

Jump to

Keyboard shortcuts

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