Something went wrong. Try again.
Monorepo for Tangled tangled.org
Something went wrong. Try again.
Go
at icy/tmrrpn
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
package tangled
// schema: sh.tangled.git.defs
const ()
// GitDefs_ByteChanges is a "byteChanges" in the sh.tangled.git.defs schema.type GitDefs_ByteChanges struct { Lhs int64 `json:"lhs" cborgen:"lhs"` Rhs int64 `json:"rhs" cborgen:"rhs"`}
// GitDefs_DiffHunk is a "diffHunk" in the sh.tangled.git.defs schema.type GitDefs_DiffHunk struct { Lines []*GitDefs_LinePair `json:"lines" cborgen:"lines"` // novelLhs: 0-based line numbers holding novel content on the left side NovelLhs []int64 `json:"novelLhs" cborgen:"novelLhs"` // novelRhs: 0-based line numbers holding novel content on the right side NovelRhs []int64 `json:"novelRhs" cborgen:"novelRhs"`}
// GitDefs_DiffSrc is a "diffSrc" in the sh.tangled.git.defs schema.//// One side of a file diff.type GitDefs_DiffSrc struct { // content: Inlined content. Used on interdiff's LHS. Content *string `json:"content,omitempty" cborgen:"content,omitempty"` IsBinary bool `json:"isBinary" cborgen:"isBinary"` IsSubmodule bool `json:"isSubmodule" cborgen:"isSubmodule"` // oid: Blob oid, or the commit oid for a submodule Oid string `json:"oid" cborgen:"oid"` Path string `json:"path" cborgen:"path"` Size int64 `json:"size" cborgen:"size"`}
// GitDefs_FileDiff is a "fileDiff" in the sh.tangled.git.defs schema.type GitDefs_FileDiff struct { // hasByteChanges: Byte count per side, present only when the two sides differ HasByteChanges *GitDefs_ByteChanges `json:"hasByteChanges,omitempty" cborgen:"hasByteChanges,omitempty"` HasSyntacticChanges bool `json:"hasSyntacticChanges" cborgen:"hasSyntacticChanges"` Hunks []*GitDefs_DiffHunk `json:"hunks" cborgen:"hunks"` LhsSrc *GitDefs_DiffSrc `json:"lhsSrc" cborgen:"lhsSrc"` RhsSrc *GitDefs_DiffSrc `json:"rhsSrc" cborgen:"rhsSrc"`}
// GitDefs_LinePair is a "linePair" in the sh.tangled.git.defs schema.//// One aligned line pair; a side is absent when that side has no line.type GitDefs_LinePair struct { Lhs *int64 `json:"lhs,omitempty" cborgen:"lhs,omitempty"` Rhs *int64 `json:"rhs,omitempty" cborgen:"rhs,omitempty"`}
// GitDefs_Signature is a "signature" in the sh.tangled.git.defs schema.type GitDefs_Signature struct { // email: Person email Email string `json:"email" cborgen:"email"` // name: Person name Name string `json:"name" cborgen:"name"` // when: Timestamp of the signature When string `json:"when" cborgen:"when"`}