···1617// RepoTree_LastCommit is a "lastCommit" in the sh.tangled.repo.tree schema.
18type RepoTree_LastCommit struct {
019 // hash: Commit hash
20 Hash string `json:"hash" cborgen:"hash"`
21 // message: Commit message
···27// RepoTree_Output is the output of a sh.tangled.repo.tree call.
28type RepoTree_Output struct {
29 // dotdot: Parent directory path
30- Dotdot *string `json:"dotdot,omitempty" cborgen:"dotdot,omitempty"`
31- Files []*RepoTree_TreeEntry `json:"files" cborgen:"files"`
032 // parent: The parent path in the tree
33 Parent *string `json:"parent,omitempty" cborgen:"parent,omitempty"`
34 // readme: Readme for this file tree
···43 Contents string `json:"contents" cborgen:"contents"`
44 // filename: Name of the readme file
45 Filename string `json:"filename" cborgen:"filename"`
000000000046}
4748// RepoTree_TreeEntry is a "treeEntry" in the sh.tangled.repo.tree schema.
···1617// RepoTree_LastCommit is a "lastCommit" in the sh.tangled.repo.tree schema.
18type RepoTree_LastCommit struct {
19+ Author *RepoTree_Signature `json:"author,omitempty" cborgen:"author,omitempty"`
20 // hash: Commit hash
21 Hash string `json:"hash" cborgen:"hash"`
22 // message: Commit message
···28// RepoTree_Output is the output of a sh.tangled.repo.tree call.
29type RepoTree_Output struct {
30 // dotdot: Parent directory path
31+ Dotdot *string `json:"dotdot,omitempty" cborgen:"dotdot,omitempty"`
32+ Files []*RepoTree_TreeEntry `json:"files" cborgen:"files"`
33+ LastCommit *RepoTree_LastCommit `json:"lastCommit,omitempty" cborgen:"lastCommit,omitempty"`
34 // parent: The parent path in the tree
35 Parent *string `json:"parent,omitempty" cborgen:"parent,omitempty"`
36 // readme: Readme for this file tree
···45 Contents string `json:"contents" cborgen:"contents"`
46 // filename: Name of the readme file
47 Filename string `json:"filename" cborgen:"filename"`
48+}
49+50+// RepoTree_Signature is a "signature" in the sh.tangled.repo.tree schema.
51+type RepoTree_Signature struct {
52+ // email: Author email
53+ Email string `json:"email" cborgen:"email"`
54+ // name: Author name
55+ Name string `json:"name" cborgen:"name"`
56+ // when: Author timestamp
57+ When string `json:"when" cborgen:"when"`
58}
5960// RepoTree_TreeEntry is a "treeEntry" in the sh.tangled.repo.tree schema.