Documentation
¶
Index ¶
- type LocalStore
- func (s *LocalStore) DeleteBranch(ownerId string, projectId uint64, branchId uint64) error
- func (s *LocalStore) DeleteProject(ownerId string, projectId uint64) error
- func (s *LocalStore) GetChangedPathHashes(ownerId string, projectId uint64, branchId uint64) [][]byte
- func (s *LocalStore) Read(ownerId string, projectId, branchId uint64, pathHash []byte, offset uint64, ...) (*pb.Operation, error)
- func (s *LocalStore) Write(ownerId string, projectId, branchId uint64, pathHash []byte, op *pb.Operation) (offset uint64, length uint64, err error)
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
Click to show internal directories.
Click to hide internal directories.