Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commit ¶
type Commit struct { Sha1 string `json:"sha1"` Title string `json:"title"` Body string `json:"body,omitempty"` Parents []string `json:"parents,omitempty"` }
{ type: 'git-update', repo: MsgId, repoBranch: [ MsgId ]?, refsBranch: [ MsgId ]?, refs: { <ref>: String|null }?, packs: [ BlobLink ]?, indexes: [ BlobLink ]?, head: string?, commits: [ { sha1: String, title: String, body: String?, parents: [ String ]?, } ]?, commits_more: Number?, num_objects: Number?, object_ids: [ String ]?, }
type Repo ¶
type Repo struct { Ref ssb.Ref // contains filtered or unexported fields }
func (*Repo) ListUpdates ¶
func (repo *Repo) ListUpdates() (b []ssb.Ref)
type RepoIssue ¶
type RepoIssue struct { ssb.MessageBody Project ssb.Ref `json:"project"` Text string `json:"text"` }
type RepoUpdate ¶
type RepoUpdate struct { ssb.MessageBody Repo ssb.Ref `json:"repo"` RepoBranch []ssb.Ref `json:"repoBranch,omitempty"` RefsBranch []ssb.Ref `json:"refsBranch,omitempty"` Refs map[ssb.Ref]string `json:"refs,omitempty"` Packs []blobs.BlobLink `json:"packs,omitempty"` Indexes []blobs.BlobLink `json:"indexes,omitempty"` Head string `json:"Head,omitempty"` Commits []Commit `json:"commits,omitempty"` CommitsMore int `json:"commits_more,omitempty"` NumObjects int `json:"num_objects,omitempty"` ObjectIDs []string `json:"object_ids,omitempty"` }
Click to show internal directories.
Click to hide internal directories.