Documentation
¶
Index ¶
- type LocalChangeStore
- func (s LocalChangeStore) AddBranch(ownerId string, projectId uint64, branchName string, commitId uint64) (uint64, error)
- func (s LocalChangeStore) DeleteBranch(ownerId string, projectId uint64, branchId uint64) error
- func (s LocalChangeStore) DeleteProject(projectId uint64, ownerId string) error
- func (s LocalChangeStore) GetBranch(ownerId string, projectId uint64, branchId uint64) (string, uint64, error)
- func (s LocalChangeStore) GetBranchByName(ownerId string, projectId uint64, branchName string) (uint64, uint64, error)
- func (s LocalChangeStore) ListBranches(ownerId string, projectId uint64) (map[string]uint64, error)
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) 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) GetBranchByName ¶
func (LocalChangeStore) ListBranches ¶
Click to show internal directories.
Click to hide internal directories.