Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(284)

Unified Diff: milo/appengine/common/gitiles/gitiles.go

Issue 2952473003: [milo] mv backend/git/gitiles -> common/gitiles (Closed)
Patch Set: typo :) Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « milo/appengine/backend/git/gitiles.go ('k') | milo/appengine/console/console.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: milo/appengine/common/gitiles/gitiles.go
diff --git a/milo/appengine/backend/git/gitiles.go b/milo/appengine/common/gitiles/gitiles.go
similarity index 92%
rename from milo/appengine/backend/git/gitiles.go
rename to milo/appengine/common/gitiles/gitiles.go
index e854160a8befb516cb01e9a96249b217d9953127..fc05a12237b5f6fd242b33621f61ea93b5f3a11f 100644
--- a/milo/appengine/backend/git/gitiles.go
+++ b/milo/appengine/common/gitiles/gitiles.go
@@ -2,7 +2,7 @@
// Use of this source code is governed under the Apache License, Version 2.0
// that can be found in the LICENSE file.
-package git
+package gitiles
import (
"encoding/json"
@@ -33,7 +33,7 @@ type Author struct {
}
// Committer is the committer information returned from a gitiles log request.
-type Commiter struct {
+type Committer struct {
Name string `json:"name"`
Email string `json:"email"`
Time string `json:"time"`
@@ -41,12 +41,12 @@ type Commiter struct {
// Log is the Log information of a commit returned from a gitiles log request.
type Log struct {
- Commit string `json:"commit"`
- Tree string `json:"tree"`
- Parents []string `json:"parents"`
- Author Author `json:"author"`
- Committer Commiter `json:"committer"`
- Message string `json:"message"`
+ Commit string `json:"commit"`
+ Tree string `json:"tree"`
+ Parents []string `json:"parents"`
+ Author Author `json:"author"`
+ Committer Committer `json:"committer"`
+ Message string `json:"message"`
}
// Commit is the JSON response from querying gitiles for a log request.
« no previous file with comments | « milo/appengine/backend/git/gitiles.go ('k') | milo/appengine/console/console.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698