forked from
tangled.org/core
this repo has no description
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
2
3package tangled
4
5// schema: sh.tangled.git.temp.defs
6
7import (
8 "github.com/bluesky-social/indigo/lex/util"
9)
10
11const ()
12
13// GitTempDefs_Blob is a "blob" in the sh.tangled.git.temp.defs schema.
14//
15// blob metadata. This object doesn't include the blob content
16type GitTempDefs_Blob struct {
17 LastCommit *GitTempDefs_Commit `json:"lastCommit" cborgen:"lastCommit"`
18 Mode string `json:"mode" cborgen:"mode"`
19 // name: The file name
20 Name string `json:"name" cborgen:"name"`
21 // size: File size in bytes
22 Size int64 `json:"size" cborgen:"size"`
23 // submodule: Submodule information if path is a submodule
24 Submodule *GitTempDefs_Submodule `json:"submodule,omitempty" cborgen:"submodule,omitempty"`
25}
26
27// GitTempDefs_Branch is a "branch" in the sh.tangled.git.temp.defs schema.
28type GitTempDefs_Branch struct {
29 // commit: hydrated commit object
30 Commit *GitTempDefs_Commit `json:"commit" cborgen:"commit"`
31 // name: branch name
32 Name string `json:"name" cborgen:"name"`
33}
34
35// GitTempDefs_Commit is a "commit" in the sh.tangled.git.temp.defs schema.
36type GitTempDefs_Commit struct {
37 Author *GitTempDefs_Signature `json:"author" cborgen:"author"`
38 Committer *GitTempDefs_Signature `json:"committer" cborgen:"committer"`
39 Hash *string `json:"hash" cborgen:"hash"`
40 Message *string `json:"message,omitempty" cborgen:"message,omitempty"`
41 Tree *string `json:"tree" cborgen:"tree"`
42}
43
44// GitTempDefs_Signature is a "signature" in the sh.tangled.git.temp.defs schema.
45type GitTempDefs_Signature struct {
46 // email: Person email
47 Email string `json:"email" cborgen:"email"`
48 // name: Person name
49 Name string `json:"name" cborgen:"name"`
50 // when: Timestamp of the signature
51 When string `json:"when" cborgen:"when"`
52}
53
54// GitTempDefs_Submodule is a "submodule" in the sh.tangled.git.temp.defs schema.
55type GitTempDefs_Submodule struct {
56 // branch: Branch to track in the submodule
57 Branch *string `json:"branch,omitempty" cborgen:"branch,omitempty"`
58 // name: Submodule name
59 Name string `json:"name" cborgen:"name"`
60 // url: Submodule repository URL
61 Url string `json:"url" cborgen:"url"`
62}
63
64// GitTempDefs_Tag is a "tag" in the sh.tangled.git.temp.defs schema.
65type GitTempDefs_Tag struct {
66 Message *string `json:"message,omitempty" cborgen:"message,omitempty"`
67 // name: tag name
68 Name string `json:"name" cborgen:"name"`
69 Tagger *GitTempDefs_Signature `json:"tagger" cborgen:"tagger"`
70 Target *util.LexiconTypeDecoder `json:"target" cborgen:"target"`
71}