package
Version:
v0.0.0-...-5262f89
Opens a new window with list of versions in this module.
Published: Apr 4, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Blob struct {
Hash string `json:"hash"`
Type string `json:"type"`
Data string `json:"data"`
}
type Commit struct {
Hash string `json:"hash"`
Type string `json:"type"`
Author *Signature `json:"author"`
Committer *Signature `json:"committer"`
Signature string `json:"signature"`
Message string `json:"message"`
Tree *Tree `json:"tree"`
TreeHash string `json:"treeHash"`
Parents []*Commit `json:"parents"`
ParentHashes []string `json:"parentHashes"`
}
type Object interface {
IsObject()
}
type Signature struct {
Name string `json:"name"`
Email string `json:"email"`
When string `json:"when"`
}
type Tree struct {
Hash string `json:"hash"`
Type string `json:"type"`
Entries []*TreeEntry `json:"entries"`
}
type TreeEntry struct {
Hash string `json:"hash"`
Name string `json:"name"`
Mode string `json:"mode"`
Object Object `json:"object"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.