Skip to content

Commit

Permalink
Add missing fields to ChangeMessageInfo, FileInfo.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitshur authored and andygrunwald committed Apr 29, 2018
1 parent 104d92e commit 5ff0cbc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions changes.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ type ChangeMessageInfo struct {
Author AccountInfo `json:"author,omitempty"`
Date string `json:"date"`
Message string `json:"message"`
Tag string `json:"tag,omitempty"`
RevisionNumber int `json:"_revision_number,omitempty"`
}

Expand Down
2 changes: 2 additions & 0 deletions changes_revision.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ type FileInfo struct {
OldPath string `json:"old_path,omitempty"`
LinesInserted int `json:"lines_inserted,omitempty"`
LinesDeleted int `json:"lines_deleted,omitempty"`
SizeDelta int `json:"size_delta"`
Size int `json:"size"`
}

// ActionInfo entity describes a REST API call the client can make to manipulate a resource.
Expand Down

0 comments on commit 5ff0cbc

Please sign in to comment.