Versions in this module Expand all Collapse all v0 v0.2.0 May 15, 2026 Changes in this version + var ErrNotFound = errors.New("not found") + type Cache interface + CheckWriteAccess func(ctx context.Context) error + Get func(ctx context.Context, owner, repoName, commit, configHash string) ([]content.File, error) + Put func(ctx context.Context, owner, repoName, commit, configHash string, ...) error + type Provider interface + Find func(owner, repoName string) source.Source + Repositories func() []source.Source + type Repo struct + func New(log *slog.Logger, cache Cache, providers ...Provider) Repo + func (r Repo) GetFiles(ctx context.Context, owner, repoName, commit string) ([]content.File, error) + func (r Repo) GetMeta(ctx context.Context, owner, repoName, commit string) (content.Meta, error) + func (r Repo) Repositories() []source.Source