Documentation
¶
Index ¶
- type Store
- func (s *Store) Add(commit string, r remark.Remark) error
- func (s *Store) FindRemarkByID(id string) (string, *remark.Remark, error)
- func (s *Store) Get(commit string) (*remark.Remarks, error)
- func (s *Store) ListAllWithRemarks() (map[string]*remark.Remarks, error)
- func (s *Store) Migrate(oldCommit, newCommit string) error
- func (s *Store) Remove(commit string) error
- func (s *Store) Resolve(commit, remarkID string) (bool, error)
- func (s *Store) Save(commit string, remarks *remark.Remarks) error
- func (s *Store) UpdateRemark(commit string, r remark.Remark) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store handles reading and writing remarks to git notes
func (*Store) FindRemarkByID ¶
FindRemarkByID searches all remarks to find one by ID Returns the commit SHA and the remark if found
func (*Store) ListAllWithRemarks ¶
ListAllWithRemarks returns all commits that have remarks
Click to show internal directories.
Click to hide internal directories.