| 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.
|
|
|