Versions in this module Expand all Collapse all v5 v5.12.1 Aug 22, 2024 v5.12.0 Aug 22, 2024 Changes in this version + var ErrArguments = errors.New("arguments not allowed") + var ErrArgumentsRequired = errors.New("arguments required") + var ErrEmptyArgument = errors.New("empty argument") + var ErrMultipleArguments = errors.New("multiple arguments not allowed") + func DefaultAgent() string + type Capability string + const Agent + const AllowReachableSHA1InWant + const AllowTipSHA1InWant + const Atomic + const DeepenNot + const DeepenRelative + const DeepenSince + const DeleteRefs + const Filter + const IncludeTag + const MultiACK + const MultiACKDetailed + const NoDone + const NoProgress + const OFSDelta + const ObjectFormat + const PushCert + const PushOptions + const Quiet + const ReportStatus + const Shallow + const Sideband + const Sideband64k + const SymRef + const ThinPack + func (n Capability) String() string + type List struct + func NewList() *List + func (l *List) Add(c Capability, values ...string) error + func (l *List) All() []Capability + func (l *List) Decode(raw []byte) error + func (l *List) Delete(capability Capability) + func (l *List) Get(capability Capability) []string + func (l *List) IsEmpty() bool + func (l *List) Set(capability Capability, values ...string) error + func (l *List) String() string + func (l *List) Supports(capability Capability) bool