diff options
Diffstat (limited to 'modules/structs/git_blob.go')
-rw-r--r-- | modules/structs/git_blob.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/structs/git_blob.go b/modules/structs/git_blob.go new file mode 100644 index 00000000..96c7a271 --- /dev/null +++ b/modules/structs/git_blob.go @@ -0,0 +1,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"` +} |