Versions in this module Expand all Collapse all v0 v0.16.2 Dec 23, 2024 v0.16.1 Dec 20, 2024 v0.16.0 Dec 20, 2024 v0.15.1 Dec 16, 2024 v0.15.0 Dec 16, 2024 v0.14.0 Nov 29, 2024 v0.13.0 Nov 22, 2024 Changes in this version + var ErrReportStarted = errors.New("protocol: reporter start") + func StripAnsi(s string) string + type Command struct + B int + Language string + M int + NewRev string + OldRev string + RID int64 + ReferenceName plumbing.ReferenceName + Terminal string + UID int64 + func (c *Command) UpdateStats(s string) + func (c *Command) W(message string) string + type QR struct + func NewQR(o *odb.ODB, quarantineDir string) (*QR, error) + func (r *QR) Close() error + type Repositories interface + New func(ctx context.Context, newRepo *database.Repository, u *database.User, ...) (*database.Repository, error) + Open func(ctx context.Context, rid int64, compressionAlgo, defaultBranch string) (Repository, error) + func NewRepositories(root string, ossConfig *serve.OSS, cacheConfig *serve.Cache, mdb database.DB) (Repositories, error) + type Repository interface + Close func() error + DoPush func(ctx context.Context, cmd *Command, reader io.Reader, w io.Writer) error + Initialize func(ctx context.Context, u *database.User, initBranch string) error + LsTag func(ctx context.Context, tagName string) (string, string, error) + ODB func() odb.DB + ParseRev func(ctx context.Context, rev string) (*RevObjects, error) + type RevObjects struct + Objects map[string]object.Encoder + Target *object.Commit