package
Version:
v0.0.0-...-cb886e6
Opens a new window with list of versions in this module.
Published: Dec 26, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func NewDBEnvironmentsProvider(
db *database.DB,
) *dbPermanentBranchesProvider
type PermanentBranchesProvider interface {
List(ctx context.Context, owner, repo string) ([]string, error)
IsPermanentBranch(ctx context.Context, owner, repo, branch string) (bool, error)
BatchUpsert(ctx context.Context, owner, repo string, branches []string) (BatchUpsertResult, error)
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.