summaryrefslogtreecommitdiffstats
path: root/modules/structs/git_blob.go
blob: 96c7a271a9234c5aadc5e9968b9f844cfb21e169 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2019 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT

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