package
Version:
v0.0.0-...-1327151
Opens a new window with list of versions in this module.
Published: Apr 13, 2020
License: BSD-3-Clause
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package gitiles implements a client for the Gitiles API.
type Commit struct {
SHA string `json:"commit"`
Tree string `json:"tree"`
Parents []string `json:"parents"`
Author Ident `json:"author"`
Committer Ident `json:"committer"`
Message string `json:"message"`
}
type Diff struct {
Type string `json:"type"`
OldID string `json:"old_id"`
OldMode int `json:"old_mode"`
OldPath string `json:"old_path"`
NewID string `json:"new_id"`
NewMode int `json:"new_mode"`
NewPath string `json:"new_path"`
}
type Ident struct {
Name string `json:"name"`
Email string `json:"email"`
Time string `json:"time"`
}
type LogResponse struct {
Log []Commit `json:"log"`
Previous string `json:"previous"`
Next string `json:"next"`
}
type RevisionResponse struct {
Commit
TreeDiff []Diff `json:"tree_diff"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.