diff options
author | Richard Mahn <richmahn@users.noreply.github.com> | 2019-03-22 09:38:49 -0600 |
---|---|---|
committer | techknowlogick <matti@mdranta.net> | 2019-03-22 11:38:49 -0400 |
commit | ecce28f9dfaaa78a8471053ca40716a1e426aa6f (patch) | |
tree | 0fa497785e4116bd4086d63c666f223883a49253 /vendor/code.gitea.io/sdk/gitea/git_blob.go | |
parent | 03e4db40cc09d6c211b3026f743c38c227e4fc8e (diff) | |
download | gitea-ecce28f9dfaaa78a8471053ca40716a1e426aa6f.tar.gz gitea-ecce28f9dfaaa78a8471053ca40716a1e426aa6f.zip |
Updates SDK dep (#6406)
Diffstat (limited to 'vendor/code.gitea.io/sdk/gitea/git_blob.go')
-rw-r--r-- | vendor/code.gitea.io/sdk/gitea/git_blob.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vendor/code.gitea.io/sdk/gitea/git_blob.go b/vendor/code.gitea.io/sdk/gitea/git_blob.go new file mode 100644 index 0000000000..abdd95aaff --- /dev/null +++ b/vendor/code.gitea.io/sdk/gitea/git_blob.go @@ -0,0 +1,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 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"` +} |