10ebef4a16
* Adds structures for repo file and blob APIs * Updates Git Blob * Moves IdentityOptions to Identity in repo_commit for reusability * Formatting * Fixed quote * Fix to json variable * Fixes to comments * Adds copyright to header * Removes unused code * Makes author and committer pointers * Removes Identity from being a pointer * proper struct
14 lines
411 B
Go
14 lines
411 B
Go
// Copyright 2019 The Gitea Authors. All rights reserved.
|
|
// Use of this source code is governed by a MIT-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package gitea
|
|
|
|
// GitBlobResponse represents a git blob
|
|
type GitBlobResponse struct {
|
|
Content string `json:"content"`
|
|
Encoding string `json:"encoding"`
|
|
URL string `json:"url"`
|
|
SHA string `json:"sha"`
|
|
Size int64 `json:"size"`
|
|
}
|