Documentation
¶
Index ¶
- type Store
- func (s *Store) Close() error
- func (s *Store) DeleteByPathGroup(ctx context.Context, path, group string) (int64, error)
- func (s *Store) DistinctGroups(ctx context.Context) ([]string, error)
- func (s *Store) FindByPathGroup(ctx context.Context, path, group string) (*TrackedItem, error)
- func (s *Store) ListByGroup(ctx context.Context, group string) ([]TrackedItem, error)
- func (s *Store) ListRepoRoots(ctx context.Context, group string) ([]string, error)
- func (s *Store) ListUnderPrefix(ctx context.Context, prefix, group string) ([]TrackedItem, error)
- func (s *Store) UpsertItem(ctx context.Context, ti *TrackedItem) error
- type TrackedItem
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
}
func (*Store) DeleteByPathGroup ¶
func (*Store) DistinctGroups ¶
func (*Store) FindByPathGroup ¶
func (*Store) ListByGroup ¶
func (*Store) ListRepoRoots ¶
ListRepoRoots returns distinct repo roots tracked for a group.
func (*Store) ListUnderPrefix ¶
func (*Store) UpsertItem ¶
func (s *Store) UpsertItem(ctx context.Context, ti *TrackedItem) error
Click to show internal directories.
Click to hide internal directories.