Documentation ¶
Index ¶
- type Auth
- type Branch
- type Config
- type Pack
- type Receive
- type Refspec
- func (s *Refspec) Dst() string
- func (s *Refspec) DstForRef(p string) string
- func (s *Refspec) DstMatchRef(r string) bool
- func (s *Refspec) Exclude(r string) bool
- func (s *Refspec) IsGlob() bool
- func (s *Refspec) MarshalText() (text []byte, err error)
- func (s *Refspec) Src() string
- func (s *Refspec) SrcMatchRef(r string) bool
- func (s *Refspec) String() string
- func (s *Refspec) UnmarshalText(text []byte) error
- type Remote
- type Store
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { User *User `yaml:"user,omitempty" json:"user,omitempty"` Remote map[string]*Remote `yaml:"remote,omitempty" json:"remote,omitempty"` Receive *Receive `yaml:"receive,omitempty" json:"receive,omitempty"` Branch map[string]*Branch `yaml:"branch,omitempty" json:"branch,omitempty"` Auth *Auth `yaml:"auth,omitempty" json:"auth,omitempty"` Pack *Pack `yaml:"pack,omitempty" json:"pack,omitempty"` }
func (*Config) MaxPackFileSize ¶ added in v0.4.0
func (*Config) TokenDuration ¶ added in v0.4.0
type Pack ¶ added in v0.4.0
type Pack struct { // MaxFileSize is the maximum pack file size in bytes. Note that unlike in Git, pack format // is only used as a transport format during fetch and push. This size is pre-compression. MaxFileSize uint64 `yaml:"maxFileSize,omitempty" json:"maxFileSize,omitempty"` }
type Refspec ¶
func MustParseRefspec ¶
func ParseRefspec ¶
func (*Refspec) DstMatchRef ¶
func (*Refspec) MarshalText ¶
func (*Refspec) SrcMatchRef ¶
func (*Refspec) UnmarshalText ¶
type Remote ¶ added in v0.4.0
type Remote struct { URL string Fetch []*Refspec `yaml:"fetch,omitempty" json:"fetch,omitempty"` Push []*Refspec `yaml:"push,omitempty" json:"push,omitempty"` Mirror bool `yaml:"mirror,omitempty" json:"mirror,omitempty"` }
func (*Remote) FetchDstForRef ¶ added in v0.4.0
func (*Remote) FetchDstMatchRef ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.