Versions in this module Expand all Collapse all v0 v0.2.1 Jul 25, 2026 v0.2.0 Jul 25, 2026 Changes in this version + var ErrNotGit = errors.New("not a git upload-pack advertisement") + type Advertisement struct + Capabilities []string + DefaultBranch string + Head string + Refs []Ref + func Parse(body []byte) (*Advertisement, error) + func (a *Advertisement) Branches() []Ref + func (a *Advertisement) PullHeads() []Ref + func (a *Advertisement) Tags() []Ref + type Ref struct + Name string + Peeled string + SHA string