summaryrefslogtreecommitdiffstats
path: root/modules/structs/git_blob.go
blob: 5715f2585b9542acb420e7e40b68d8f39d43894c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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 structs

// 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"`
}