~james/core

core/api/org_tangled/gitrefs.go -rw-r--r-- 717 bytes
452f17b7 — james chore(import): snapshot james.dad.town/core at f70c71c7696a 14 hours ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.

package org_tangled

// schema: org.tangled.git.refs

import (
	"github.com/bluesky-social/indigo/lex/util"
)

const (
	GitRefsNSID = "org.tangled.git.refs"
)

func init() {
	util.RegisterType("org.tangled.git.refs", &GitRefs{})
} //
// RECORDTYPE: GitRefs
type GitRefs struct {
	LexiconTypeID string `json:"$type,const=org.tangled.git.refs" cborgen:"$type,const=org.tangled.git.refs"`
	// defaultBranch: Default branch name without refs/heads/ prefix.
	DefaultBranch string `json:"defaultBranch" cborgen:"defaultBranch"`
	// refs: List of git refs in `git show-ref` format.
	Refs util.LexBytes `json:"refs,omitempty" cborgen:"refs,omitempty"`
}