Documentation ¶
Index ¶
- Variables
- type ArtifactType
- type RepoStore
- func (s *RepoStore) GetAll(ctx context.Context) ([]repos.Repository, error)
- func (s *RepoStore) GetReadme(ctx context.Context, repoID int) ([]byte, error)
- func (s *RepoStore) SetReadme(ctx context.Context, repoID int, data []byte) error
- func (s *RepoStore) UpsertMany(ctx context.Context, items []repos.Repository) error
- func (s *RepoStore) UpsertOne(ctx context.Context, item repos.Repository) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoReadmeFound = errors.New("no readme found")
Functions ¶
This section is empty.
Types ¶
type ArtifactType ¶
type ArtifactType string
const (
ArtifactTypeReadme ArtifactType = "repo.readme"
)
func (ArtifactType) String ¶
func (a ArtifactType) String() string
Click to show internal directories.
Click to hide internal directories.